Ecclesiastes 1:16-18 RSVA

16 I said to myself, "I have acquired great wisdom, surpassing all who were over Jerusalem before me; and my mind has had great experience of wisdom and knowledge."
17 And I applied my mind to know wisdom and to know madness and folly. I perceived that this also is but a striving after wind.
18 For in much wisdom is much vexation, and he who increases knowledge increases sorrow.