Ecclesiastes 2:17-19

YLT(i) 17 And I have hated life, for sad to me is the work that hath been done under the sun, for the whole is vanity and vexation of spirit. 18 And I have hated all my labour that I labour at under the sun, because I leave it to a man who is after me. 19 And who knoweth whether he is wise or foolish? yet he doth rule over all my labour that I have laboured at, and that I have done wisely under the sun! this also is vanity.