22 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.