17 Then I applied myself to the understanding of wisdom, and also of madness and folly, but I learned that this, too, is a chasing after the wind.

Read Ecclesiastes 1:17 Using Other Translations

And I gave my heart to know wisdom, and to know madness and folly: I perceived that this also is vexation of spirit.
And I applied my heart to know wisdom and to know madness and folly. I perceived that this also is but a striving after wind.
So I set out to learn everything from wisdom to madness and folly. But I learned firsthand that pursuing all this is like chasing the wind.