Joshua sent them off. They set their ambush and waited between Bethel and Ai, just west of Ai. Joshua spent the night with the people.