Book of Ecclesiastes

Ecclesiastes 7:25

King James Version
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: