And when they began to sing and to praise, the LORD set ambushes against the children of Ammon, Moab, and mount Seir, who were come against Judah; and they were defeated.
For my people are foolish, they have not known me; they are stupid children, and they have no understanding: they are wise to do evil, but how to do good they have no knowledge.
And he commanded them, saying, Behold, you shall lie in wait against the city, even behind the city: go not very far from the city, but be you all ready:
Joshua therefore sent them forth: and they went to lie in ambush, and abode between Bethel and Ai, on the west side of Ai: but Joshua lodged that night among the people.