Ecclesiastes 7:25

I applied mine heart to know, and to search, and to seek out wisdom, and the reason of things, and to know the wickedness of folly, even of foolishness and madness:

The verse portrays a deliberate turning of the heart toward knowing, searching, and seeking out wisdom together with the explanation of how things work. It joins to that intellectual quest a determined inquiry into the evil inherent in folly and into what foolishness and madness are and what they produce. That whole labor of learning belongs to the present lifetime of opportunity, since death closes the season for thinking and doing.