15So I said in my heart, "As it happens to the fool, so it happens even to me. And why was I then more wise?" Then I said in my heart, "This also is vanity."
16For there is no more remembrance of the wise than of the fool forever, since what now is will all be forgotten in the days to come. And how does the wise man die? Just like the fool.
17Therefore I hated life, because the work that was done under the sun was grievous to me; for all is vanity and vexation of spirit.
18Yes, I hated all my labor that I had labored under the sun, because I must leave it to the man who will come after me.
19And who knows whether he will be wise or a fool? Yet he will rule over all my labor in which I have labored and in which I have shown myself wise under the sun. This also is vanity.
20Therefore I turned my heart to despair over all the labor which I had done under the sun.
21For there is a man whose labor is with wisdom, knowledge, and skill. Yet he must leave his inheritance to a man who has not labored for it. This also is vanity and a great evil.
22For what has man from all his labor, and of the striving of his heart with which he has labored under the sun?