So Joshua sent them out, and they went to the ambush site and waited between Bethel and Ai, to the west of Ai. But he spent that night with the troops.
‘For my people are fools; they do not know me. They are foolish children, without understanding. They are skilled in doing what is evil, but they do not know how to do what is good.’
The moment they began their shouts and praises, the Lord set an ambush against the Ammonites, Moabites, and the inhabitants of Mount Seir who came to fight against Judah, and they were defeated.