Ecclesiastes Chapter 1 Verse 17 & 18
Ecc 1:17 And I applied my heart to know wisdom and to know madness and folly. I perceived that this also is but a striving after wind.Ecc 1:18 For in much wisdom is much vexation, and he who increases knowledge increases sorrow.