9 Then Joshua sent them forth, and they went to lie in ambush and abode between Bethel and Ai, on the west side of Ai; and Joshua lodged that night in the midst of the people.