Ecclesiastes 1:18

NIV
New International Version

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