Eccles. 1:18
For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.
"He went like one that hath been stunned, and is of sense forlorn; a sadder and a wiser man, he rose the morrow morn."
Samuel Coleridge, The Rime of the Ancient Mariner (1798)