The moment they began their shouts and praises, the LORD set an ambush against the men of Ammon, Moab, and Mount Seir who had come against Judah, and they were defeated.