2 Chronicles 25:20

20 But Amaziah would not listen, for this [turn of events] was from God in order to hand them over to [their enemies] because they went after the gods of Edom.

2 Chronicles 25:20 Meaning and Commentary

Ver. 20-28. But Amaziah would not hear
What the king of Israel advised him to, not to meddle to his hurt;

for it came of God, that he might deliver them into the hand [of their
enemies];
Amaziah and his army into the hands of Joash and his; this was the will of God, and was brought about by his providence; and that it might be, Amaziah was given up to blindness and hardness of heart, as a punishment of his idolatry:

because they sought after the gods of Edom;
he and his nobles, and many of the people following his example; from hence to the end of the chapter the same things are recorded as in ( 2 Kings 14:11-20 ) , see the notes there, (See Gill on 2 Kings 14:11) (See Gill on 2 Kings 14:12) (See Gill on 2 Kings 14:13) (See Gill on 2 Kings 14:14) (See Gill on 2 Kings 14:15) (See Gill on 2 Kings 14:16) (See Gill on 2 Kings 14:17) (See Gill on 2 Kings 14:18) (See Gill on 2 Kings 14:19) (See Gill on 2 Kings 14:20)

2 Chronicles 25:20 In-Context

18 King Jehoash of Israel sent [word] to King Amaziah of Judah, saying, "The thistle that was in Lebanon sent [a message] to the cedar that was in Lebanon, saying, 'Give your daughter to my son as a wife.' Then a wild animal that was in Lebanon passed by and trampled the thistle.
19 You have said, 'Look, I have defeated Edom,' and you have become overconfident that you will get glory. Now stay at home. Why stir up such trouble so that you fall and Judah with you?"
20 But Amaziah would not listen, for this [turn of events] was from God in order to hand them over to [their enemies] because they went after the gods of Edom.
21 So King Jehoash of Israel advanced. He and King Amaziah of Judah faced off at Beth-shemesh in Judah.
22 Judah was routed before Israel, and each fled to his own tent.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.