So Joshua led all his army toward Ai. He chose 30,000 of his best fighters/warriors and prepared to send them out during the night.