II Chronicles 12:14 Midrash

וַיַּ֖עַשׂ הָרָ֑ע כִּ֣י לֹ֤א הֵכִין֙ לִבּ֔וֹ לִדְר֖וֹשׁ אֶת־יְהוָֽה׃ (ס)

And he did that which was evil, because he set not his heart to seek the LORD.

Read midrashic interpretation of II Chronicles 12:14: and classical rabbinic exegesis.