When they returned they told Joshua, “The whole army isn't needed. Two or three thousand men is enough to go and attack Ai. Don't bother sending everyone—there's only a few of them.”
Joshua sent men from the camp near Jericho to the town of Ai, which is near Bethaven, east of Bethel. “Go and explore the land,” he told them. So they went and explored around Ai.