Ecclesiastes 1:17

1:17 I applied my heart to know wisdom, and to know madness and folly. I perceived that this also was a chasing after wind.
-World English Bible

Other Translation

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