Read 2 Chronicles 25:10 Using Other Translations
Then Amaziah separated them, to wit, the army that was come to him out of Ephraim, to go home again: wherefore their anger was greatly kindled against Judah, and they returned home in great anger.
Then Amaziah discharged the army that had come to him from Ephraim to go home again. And they became very angry with Judah and returned home in fierce anger.
So Amaziah discharged the hired troops and sent them back to Ephraim. This made them very angry with Judah, and they returned home in a great rage.