As they began to sing and praise God, the Lord set ambushes. He set them for the people of Ammon, Moab and Edom. They were the ones who came to attack Judah. And they were defeated.