As they broke into joyful song and praise, the Lord launched a surprise attack against the Ammonites, the Moabites, and those from Mount Seir who were invading Judah, so that they were defeated.