So Joshua sent them out, and they set up an ambush between Bethel and Ai, to the west of Ai. Joshua spent that night in the camp among the army. 