22 Now when they began to sing and to praise, the Lord set ambushes against the people of Ammon, Moab, and Mount Seir, who had come against Judah; and they were defeated.