When Amaziah returned from slaughtering the Edomites, he brought back the gods of the people of Seir. He set them up as his own gods,1 bowed down to them and burned sacrifices to them.
References for 2 Chronicles 25:14
The anger of the LORD burned against Amaziah, and he sent a prophet to him, who said, "Why do you consult this people's gods, which could not save2 their own people from your hand?"
References for 2 Chronicles 25:15
While he was still speaking, the king said to him, "Have we appointed you an adviser to the king? Stop! Why be struck down?" So the prophet stopped but said, "I know that God has determined to destroy you, because you have done this and have not listened to my counsel."