So the people took their positions — the main camp to the north of the city, and the rear guard to the west of it. That night Joshua went into the middle of the valley.
In context
11All the fighting men with him went up, approached, and came in front of the city, camping north of Ai, with the valley between them and Ai. 12He took about five thousand men and set them in ambush between Bethel and Ai, west of the city. 13So the people took their positions — the main camp to the north of the city, and the rear guard to the west of it. That night Joshua went into the middle of the valley. 14When the king of Ai saw this, he and his people hurried and rose early and went out to meet Israel in battle, at the appointed place facing the Arabah. But he did not know that an ambush was set against him behind the city. 15Joshua and all Israel let themselves be beaten back before them and fled toward the wilderness.