And I gave my heart to seek and search out by wisdom concerning all things that are done under heaven. This sore travail hath God given to the sons of man to be exercised therewith.
I sought in mine heart to give myself unto wine (yet acquainting mine heart with wisdom), and to lay hold on folly, until I might see what was good for the sons of men, which they should do under heaven all the days of their life.
Then I turned myself to behold wisdom and madness and folly; for what can the man do that cometh after the king? Even that which hath been already done.
All this have I tested by wisdom: I said, "I will be wise," but it was far from me.
24
That which is far off and exceedingly deep" who can find it out?
25
I applied mine heart to know and to search and to seek out wisdom and the reason for things, and to know the wickedness of folly, even of foolishness and madness.
And whatsoever mine eyes desired I kept not from them; I withheld not my heart from any joy, for my heart rejoiced in all my labor, and this was my portion from all my labor.
Then I looked on all the works that my hands had wrought, and on the labor that I had labored to do; and behold, all was vanity and vexation of spirit, and there was no profit under the sun.