Ecclesiastes 7:25 Kabbalah

סַבּ֨וֹתִֽי אֲנִ֤י וְלִבִּי֙ לָדַ֣עַת וְלָת֔וּר וּבַקֵּ֥שׁ חָכְמָ֖ה וְחֶשְׁבּ֑וֹן וְלָדַ֙עַת֙ רֶ֣שַׁע כֶּ֔סֶל וְהַסִּכְל֖וּת הוֹלֵלֽוֹת׃

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;

Read kabbalistic (mystical) interpretation of Ecclesiastes 7:25: and classical mystical sources.