Ecclesiastes 2:11-13 New International Version (NIV)

11. Yet when I surveyed all that my hands had done and what I had toiled to achieve, everything was meaningless, a chasing after the wind; nothing was gained under the sun.

12. Then I turned my thoughts to consider wisdom, and also madness and folly. What more can the king’s successor do than what has already been done?

13. I saw that wisdom is better than folly, just as light is better than darkness.

Ecclesiastes 2