9 Then Joshua sent them to wait in ambush between Bethel and Ai, to the west of Ai. But Joshua stayed the night with his people.