Wisdom and grief often go together

Ecclesiastes 1:18

For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.

from Grief topic