You shall do to Ai and her king as you did to Jericho and her king: only the spoil of it, and the cattle of it, shall you take for a prey to yourselves: set you an ambush for the city behind it.
      II. The direction he gives him in attacking Ai. It must not be such a work of time as the taking of Jericho was; this would have prolonged the war too much. Those that had patiently waited seven days for Jericho shall have Ai given them in one day. Nor was it, as that, to be taken by miracle, and purely by the act of God, but now their own conduct and courage must be exercised; having seen God work for them, they must now bestir themselves. God directs him, 1. To take all the people, that they might all be spectators of the action and sharers in the spoil. Hereby God gave him a tacit rebuke for sending so small a detachment against Ai in the former attempt upon it, Joshua 7:4; Joshua 7:4. 2. To lay an ambush behind the city; this was a method which perhaps Joshua would not have thought of at this time, if God had not directed him to it; and though now we are not to expect direction, as here, by visions, voices, or oracles, yet, whenever those who are entrusted with public councils take prudent measures for the public good, it must be acknowledged that god puts it into their hears; he that teaches the husbandman discretion no doubt teaches statesman and general.