Ecclesiastes 1:16-18 NLT

16 I said to myself, “Look, I am wiser than any of the kings who ruled in Jerusalem before me. I have greater wisdom and knowledge than any of them.”
17 So I set out to learn everything from wisdom to madness and folly. But I learned firsthand that pursuing all this is like chasing the wind.
18 The greater my wisdom, the greater my grief. To increase knowledge only increases sorrow.