Ecclesiastes 1:17
King James Version
“And I gave my heart to know wisdom, and to know madness and folly: I perceived that this also is vexation of spirit.”
Context
14I have seen all the works that are done under the sun; and, behold, all vanity and vexation of spirit.
15crooked cannot be made straight: and that which is wanting cannot be numbered.
16I communed with mine own heart, saying, Lo, I am come to great estate, and have gotten more wisdom than all that have been before me in Jerusalem: yea, my heart had great experience of wisdom and knowledge.
17And I gave my heart to know wisdom, and to know madness and folly: I perceived that this also is vexation of spirit.
18For in much wisdom much grief: and he that increaseth knowledge increaseth sorrow.