So Joshua sent them out, and they went to the place of the ambush, and they sat between Bethel and Ai, to the west of Ai; but Joshua spent the night with the people.