Then I turned to consider wisdom, madness, and folly, for what will the man be like who comes after the king? He will do what has already been done.
References for Ecclesiastes 2:12
And I realized that there is an advantage to wisdom over folly, like the advantage of light over darkness.
The wise man has eyes in his head, but the fool walks in darkness. Yet I also knew that one fate comes to them both.
So I said to myself, "What happens to the fool will also happen to me. Why then have I been overly wise?" And I said to myself that this is also futile.
For, just like the fool, there is no lasting remembrance of the wise man, since in the days to come both will be forgotten. How is it that the wise man dies just like the fool?
Therefore, I hated life because the work that was done under the sun was distressing to me. For everything is futile and a pursuit of the wind.