17So I hated life, because the work that is worked under the sun was grievous to me; for all is vanity and a chasing after wind.
18I hated all my labor in which I labored under the sun, seeing that I must leave it to the man who comes after me.
19Who knows whether he will be a wise man or a fool? Yet he will have rule over all of my labor in which I have labored, and in which I have showed myself wise under the sun. This also is vanity.
20Therefore I began to cause my heart to despair concerning all the labor in which I had labored under the sun.
21For there is a man whose labor is with wisdom, with knowledge, and with skillfulness; yet he shall leave it for his portion to a man who has not labored therein. This also is vanity and a great evil.
22For what has a man of all his labor, and of the striving of his heart, in which he labors under the sun?
23For all his days are sorrows, and his travail is grief; yes, even in the night his heart takes no rest. This also is vanity.