Ecclesiastes 1:17-18 New International Version Anglicized (NIVUK)

17. Then I applied myself to the understanding of wisdom, and also of madness and folly, but I learned that this, too, is a chasing after the wind.

18. For with much wisdom comes much sorrow;the more knowledge, the more grief.

Ecclesiastes 1