And when they began to sing and to praise, Jehovah set ambushes against the sons of Ammon, Moab, and mount Seir, who had come against Judah. And they were beaten.
For My people are foolish; they have not known Me; they are stupid sons, and they have no understanding. They are wise to do evil, but to do good they have no knowledge.
And he commanded them, saying, Behold, you will be an ambush against the city, behind the city. You shall not go very far from the city, but all of you be ready.
And Joshua sent them out. And they went to lie in ambush, and stayed between Bethel and Ai, on the west side of Ai. But Joshua stayed that night among the people.