17 Therefore I hated life because every work that is wrought under the sun was grievous unto me; for all was vanity and vexation of spirit.
18 Yea, I hated all my labour which I had taken under the sun, which I should leave it unto the man that shall be after me.
19 And who knows whether he shall be a wise man or a fool, he who shall have rule over all my labour in which I have laboured and in which I have showed myself wise under the sun? This is also vanity.
20 Therefore my heart began to despair again regarding all the labour which I took under the sun.
21 That the man who worked with wisdom and with knowledge and with uprightness would have to leave his portion to a man that has not laboured therein. This also is vanity and a great evil.
22 For what does man have of all his labour and of the vexation of his heart in which he has laboured under the sun?
23 For all his days are only sorrows, and his travail grief; yea, his heart does not take rest in the night. This is also vanity.