9 Yehoshua sent them forth; and they went to set up the ambush, and stayed between Beit-El and `Ai, on the west side of `Ai: but Yehoshua lodged that night among the people.