Joshua 7:2-3

2Joshua sent men from Jericho to Ai, which is near aBeth-aven, east of Bethel, and said to them, “Go up and spy out the land.” And the men went up and spied out Ai. 3And they returned to Joshua and said to him, “Do not have all the people go up, but let about two or three thousand men go up and attack Ai. Do not make the whole people toil up there, for they are few.”
Copyright information for ESV