2 Chronicles 20:22

And when they had begun to sing praises, the Lord turned their ambushes upon themselves, that is, those of the sons of Ammon, and of Moab, and of mount Seir, who had gone forth so that they might fight against Judah. And they were struck down

Other versions

King James Version

And when they began to sing and to praise, the LORD set ambushments against the children of Ammon, Moab, and mount Seir, which were come against Judah; and they were smitten.

English Standard Version

And when they began to sing and praise, the LORD set an ambush against the men of Ammon, Moab, and Mount Seir, who had come against Judah, so that they were routed.

New International Version

As they began to sing and praise, the LORD set ambushes against the men of Ammon and Moab and Mount Seir who were invading Judah, and they were defeated.