Ecclesiastes 1:17 KJV

17 And I gave my heart to know wisdom, and to know madness and folly: I perceived that this also is vexation of spirit.