So Joshua and the whole army set out to attack Ai. Joshua chose 30,000 valiant warriors and sent them out at night