2 Chronicles 25:6-10

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.