Ecclesiastes 1:17

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

Ecclesiastes 1:17 In-Context

15 That which is crooked cannot be made straight : and that which is wanting cannot be numbered .
16 I communed with mine own heart, saying , Lo, I am come to great estate , and have gotten more wisdom than all they that have been before me in Jerusalem: yea, my heart had great experience of wisdom and knowledge.
17 And I gave my heart to know wisdom, and to know madness and folly: I perceived that this also is vexation of spirit.
18 For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.
The King James Version is in the public domain.