The moment they began their shout of joy and praise, Yahweh set ambushes against the Ammonites, the Moabites and the men of Mount Seir who had come against Judah, and they were routed.
In context
20Early in the morning they set out for the wilderness of Tekoa. As they marched out, Jehoshaphat stood and said, “Hear me, Judah, and you who live in Jerusalem. Hold fast to Yahweh your God and you will be held fast; hold fast to his prophets and you will succeed.” 21After consulting the people, he appointed singers for Yahweh, men to praise him in holy splendour, marching out ahead of the armed men and saying: “Give thanks to Yahweh, for his faithful love lasts for ever.” 22The moment they began their shout of joy and praise, Yahweh set ambushes against the Ammonites, the Moabites and the men of Mount Seir who had come against Judah, and they were routed. 23The Ammonites and Moabites turned on the inhabitants of Mount Seir to slaughter and destroy them, and when they had finished off the inhabitants of Seir, each of them helped ruin the next. 24When Judah came to the lookout over the wilderness, they turned toward the horde — and there they lay, corpses on the ground; not one had got away.