Joshua 8:11-14 New Living Translation (NLT)

11. All the fighting men who were with Joshua marched in front of the town and camped on the north side of Ai, with a valley between them and the town.

12. That night Joshua sent about 5,000 men to lie in ambush between Bethel and Ai, on the west side of the town.

13. So they stationed the main army north of the town and the ambush west of the town. Joshua himself spent that night in the valley.

14. When the king of Ai saw the Israelites across the valley, he and all his army hurried out early in the morning and attacked the Israelites at a place overlooking the Jordan Valley. But he didn’t realize there was an ambush behind the town.

Joshua 8