Ecclesiastes 2:18-22

Leeser(i) 18 Yea, I hated also all my toil with which I had toiled under the sun; because I should have to leave it unto the man that will be after me. 19 And who knoweth, whether he will be a wise man or a fool? yet will he have full sway over all my toil wherein I have toiled, and wherein I have shown myself wise under the sun. Also this is vanity. 20 Therefore I turned about to cause my heart to give up thinking of all the toil wherewith I had toiled under the sun. 21 For there is many a man whose toil is in wisdom, and in knowledge, and with energy; yet to a man that hath not toiled therefore must he give it as his portion. Also this is vanity and a great evil. 22 For what doth a man obtain of all his toil, and of the torture of his heart, wherewith he toileth under the sun?