Ecclesiastes 1:17

King James Version Bible (KJV)
And I gave my heart to know wisdom, and to know madness and folly: I perceived that this also is vexation of spirit.

Read Ecclesiastes 1:17 in other translations