Ecclesiastes 2:12-17 NLT

12 So I decided to compare wisdom and folly, and anyone else would come to the same conclusions I did.
13 Wisdom is of more value than foolishness, just as light is better than darkness.
14 For the wise person sees, while the fool is blind. Yet I saw that wise and foolish people share the same fate.
15 Both of them die. Just as the fool will die, so will I. So of what value is all my wisdom? Then I said to myself, "This is all so meaningless!"
16 For the wise person and the fool both die, and in the days to come, both will be forgotten.
17 So now I hate life because everything done here under the sun is so irrational. Everything is meaningless, like chasing the wind.