Book of Ecclesiastes

Ecclesiastes 1:18

King James Version
18 For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.