22 As soon as they started shouting and praising, God set ambushes against the men of Ammon, Moab, and Mount Seir as they were attacking Judah, and they all ended up dead.