Joshua 7:2
7:2 Joshua sent men from Jericho to Ai (which is located near Beth Aven, east of Bethel) and instructed them, “Go up and spy on the land.” So the men went up and spied on Ai.
Joshua 8:3
8:3 Joshua and the whole army marched against Ai. Joshua selected thirty thousand brave warriors and sent them out at night.