Rejoice And Vanity in the YLT
2 verses of the Young's Literal Translation have both "rejoice" and "vanity".
Ecclesiastes 4:16 there is no end to all the people, to all who were before them; also, the latter rejoice not in him. Surely this also is vanity and vexation of spirit.
Ecclesiastes 11:8 But, if man liveth many years, In all of them let him rejoice, And remember the days of darkness, For they are many! all that is coming is vanity.