So Amaziah detached the troops that had come to him from Ephraim and sent them home. They were furious with Judah, and they went back home burning with anger.
In context
8Even if you go and act and are strong for battle, God will make you stumble before the enemy, for God has the power to help and the power to make men stumble.” 9Amaziah said to the man of God, “And what about the hundred talents I gave to the troops of Israel?” The man of God answered, “Yahweh has far more than that to give you.” 10So Amaziah detached the troops that had come to him from Ephraim and sent them home. They were furious with Judah, and they went back home burning with anger. 11Amaziah took courage, led his people out, and marched to the Valley of Salt, where he struck down ten thousand of the men of Seir. 12The men of Judah also took ten thousand alive; they brought them to the top of the crag and threw them down from the top of the crag, and every one of them was broken apart.