And when they began to sing and to praise, the LORD set ambushes against the children of Ammon, Moab, and mount Seir, which had come against Judah; and they were struck down.
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 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 you must all be ready:
Joshua therefore sent them forth: and they went to lie in ambush, and stayed between Bethel and Ai, on the west side of Ai: but Joshua lodged that night among the people.