Joshua 8:12-13
12 Joshua had taken about five thousand men and set them in ambush between Bethel and Ai, to the west of the city.
13 They had the soldiers take up their positions—all those in the camp to the north of the city and the ambush to the west of it. That night Joshua went into the valley.