2 Chronicles 25:20

20 But Amaziah refused to listen. It was God's will for Amaziah to be defeated, because he had worshiped the Edomite idols.

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 Jehoash sent this answer to Amaziah: "Once a thorn bush in the Lebanon Mountains sent a message to a cedar: "Give your daughter in marriage to my son.' A wild animal passed by and trampled the bush down.
19 Now Amaziah, you boast that you have defeated the Edomites, but I advise you to stay at home. Why stir up trouble that will only bring disaster on you and your people?"
20 But Amaziah refused to listen. It was God's will for Amaziah to be defeated, because he had worshiped the Edomite idols.
21 So King Jehoash of Israel went into battle against King Amaziah of Judah. They met at Beth Shemesh in Judah,
22 the Judean army was defeated, and the soldiers fled to their homes.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.