Ezra
2 Chronicles 7:22BSB·traditional attribution

And others will answer, ‘Because they have forsaken the LORD, the God of their fathers, who brought them out of the land of Egypt, and have embraced other gods, worshiping and serving them—because of this, He has brought all this disaster upon them.’”

Matthew Henry Presbyterian @wholebiblehenry

That God accepted Solomon's prayer appeared by the fire from heaven. But a prayer may be accepted and yet not answered in the letter of it; and therefore God appeared to him in the night, as he did once before (Ch2 1:7), and after a day of sacrifice too, as then, and gave him a peculiar answer to his prayer. We had the substance of it before, Kg1 9:2-9. I.

Commenting on 2 Chronicles 7:12-22

Adam Clarke Methodist @methodicalclarke

Because they forsook the Lord - While they cleaved to God, the most powerful enemy could make no impression on them; but when they forsook him, then the weakest and most inconsiderable of their foes harassed, oppressed, and reduced them to bondage and misery.

Keil & Delitzsch Lutheran @keilanddelitzsch

2Ch 7:11-22 The Lord’s answer to Solomon’s dedicatory prayer. Cf. 1Ki 9:1-9. The general contents, and the order of the thoughts in the divine answer in the two texts, agree, but in the Chronicle individual thoughts are further expounded than in the book of Kings, and expressions are here and there made clear.

Commenting on 2 Chronicles 7:11-22