Jewish Publication Society of America Version (JPS1917) - Ecclesiastes 7:25 >

I turned about, and applied my heart to know and to search out, and to seek wisdom and the reason of things, and to know wickedness to be folly, and foolishness to be madness;

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

Berean Study Bible (BSB) - Ecclesiastes 7:25 >

I directed my mind to understand, to explore, to search out wisdom and explanations, and to understand the stupidity of wickedness and the folly of madness.