And when the Lord thy God hath delivered it into thine hands,
&c.] When, what with pressures without, and calamities within, the city is obliged to surrender: this is not to be imputed to the methods and arts of war used in besieging, or to the courage and skill of the besiegers; but to the power and providence of God succeeding means used, and sending famine or pestilence among the besieged, and inclining their hearts to deliver up their city:
thou shall smite every male thereof with the edge of the sword;
the men in it, grown persons, as distinguished from little ones in the next verse; because it was owing to these it was not surrendered at once, when terms of peace were offered.