II Chronicles 16:7 Midrash

וּבָעֵ֣ת הַהִ֗יא בָּ֚א חֲנָ֣נִי הָרֹאֶ֔ה אֶל־אָסָ֖א מֶ֣לֶךְ יְהוּדָ֑ה וַיֹּ֣אמֶר אֵלָ֗יו בְּהִשָּׁ֨עֶנְךָ֜ עַל־מֶ֤לֶךְ אֲרָם֙ וְלֹ֤א נִשְׁעַ֙נְתָּ֙ עַל־יְהוָ֣ה אֱלֹהֶ֔יךָ עַל־כֵּ֗ן נִמְלַ֛ט חֵ֥יל מֶֽלֶךְ־אֲרָ֖ם מִיָּדֶֽךָ׃

And at that time Hanani the seer came to Asa king of Judah, and said unto him: ‘Because thou hast relied on the king of Aram, and hast not relied on the LORD thy God, therefore is the host of the king of Aram escaped out of thy hand.

Read midrashic interpretation of II Chronicles 16:7: and classical rabbinic exegesis.