Therefore the LORD was angry with Amaziah and sent to him a prophet, who said to him, “Why have you sought the gods of a people who did not deliver their own people from your hand?”
Here is, I. The revolt of Amaziah from the God of Israel to the gods of the Edomites. Egregious folly! Ahaz worshipped the gods of those that had conquered him, for which he had some little colour, Ch2 28:23. But to worship the gods of those whom he had conquered, who could not protect their own worshippers, was the greatest absurdity that could be.
Commenting on 2 Chronicles 25:14-16
And it came to pass, as he talked with him, that the king said unto him, art thou made of the king's council?.... He was not indeed one of his privy council, made so by him, but he was appointed a counsellor to him by the Lord, the King of kings, to expostulate with him about his idolatry, and to advise him to relinquish it...
Wherefore the anger of the LORD was kindled against Amaziah, and he sent unto him a prophet, which said unto him, Why hast thou sought after the gods of the people, which could not deliver their own people out of thine hand? (m) He proves that whatever cannot save himself nor his worshipper is no god but an idol.