Joshua 8:2-3

2And you shall do to Ai and its king as you did ato Jericho and its king. Only bits spoil and its livestock you shall take as plunder for yourselves. Lay an ambush against the city, behind it.”

3So Joshua and all the fighting men arose to go up to Ai. And Joshua chose 30,000 mighty men of valor and sent them out by night.
Copyright information for ESV