Then I looked on all that my hands had done and the labor I had spent in doing it, and behold, all was vanity and a striving after the wind and a feeding on it, and there was no profit under the sun. [Mat 16:26]
So I turned to consider [human] wisdom and madness and folly; for what can the man do who succeeds the king? Nothing but what has been done already.
Then I saw that even [human] wisdom [that brings sorrow] is better than [the pleasures of] folly as far as light is better than darkness.
The wise man’s eyes are in his head, but the fool walks in darkness; and yet I perceived that [in the end] one event happens to them both. [Pro 17:24]
Then said I in my heart, As it happens to the fool, so it will happen even to me. And of what use is it then for me to be more wise?
Then I said in my heart, This also is vanity (emptiness, vainglory, and futility)! For of the wise man, the same as of the fool, there is no permanent remembrance, since in the days to come all will be long forgotten.
And how does the wise man die? Even as the fool! So I hated life, because what is done under the sun was grievous to me; for all is vanity and a striving after the wind and a feeding on it.
And I hated all my labor in which I had toiled under the sun, seeing that I must leave it to the man who will succeed me. [Psa 49:10]
And who knows whether he will be a wise man or a fool? Yet he will have dominion over all my labor in which I have toiled and in which I have shown myself wise under the sun.