2 Chronicles 25:5-10

25:5 Amaziah assembled the people of Judah and assigned them by families to the commanders of units of a thousand and the commanders of units of a hundred for all Judah and Benjamin. He counted those twenty years old and up and discovered there were 300,000 young men of fighting age equipped with spears and shields. 25:6 He hired 100,000 Israelite warriors for a hundred talents of silver.

25:7 But a prophet visited him and said: “O king, the Israelite troops must not go with you, for the Lord is not with Israel or any of the Ephraimites. 25:8 Even if you go and fight bravely in battle, God will defeat you before the enemy. God is capable of helping or defeating.” 25:9 Amaziah asked the prophet: “But what should I do about the hundred talents of silver I paid the Israelite troops?” The prophet replied, “The Lord is capable of giving you more than that.” 25:10 So Amaziah dismissed the troops that had come to him from Ephraim and sent them home. They were very angry at Judah and returned home incensed.

2 Chronicles 25:15-16

25:15 The Lord was angry at Amaziah and sent a prophet to him, who said, “Why are you following these gods that could not deliver their own people from your power?” 25:16 While he was speaking, Amaziah said to him, “Did we appoint you to be a royal counselor? Stop prophesying or else you will be killed!” So the prophet stopped, but added, “I know that the Lord has decided to destroy you, because you have done this thing and refused to listen to my advice.”