Ecclesiastes 1:18

1:18 For in much wisdom is much grief; and he who increases knowledge increases sorrow.
-World English Bible

Other Translation

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