As soon as they started singing and praising, the Lord ambushed the men of Ammon, Moab, and Mount Seir who were coming to attack Judah, and they were defeated.