12 Joshua had taken about five thousand men and set them in ambush between Bethel and Ai, to the west of the city. 13 So the soldiers took up their positions—with the main camp to the north of the city and the ambush to the west of it. That night Joshua went into the valley.