3 So Joshua and the whole army moved out to attack Ai. He chose 30,000 of his best fighting men. He sent them out at night.