Deuteronomy 20:13

13 and Jehovah thy God hath given it into thy hand, and thou hast smitten every male of it by the mouth of the sword.

Deuteronomy 20:13 Meaning and Commentary

Deuteronomy 20:13

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.

Deuteronomy 20:13 In-Context

11 and it hath been, if Peace it answer thee, and hath opened to thee, then it hath come to pass -- all the people who are found in it are to thee for tributaries, and have served thee.
12 `And if it doth not make peace with thee, and hath made with thee war, then thou hast laid siege against it,
13 and Jehovah thy God hath given it into thy hand, and thou hast smitten every male of it by the mouth of the sword.
14 Only, the women, and the infants, and the cattle, and all that is in the city, all its spoil, thou dost seize for thyself, and thou hast eaten the spoil of thine enemies which Jehovah thy God hath given to thee.
15 So thou dost do to all the cities which are very far off from thee, which are not of the cities of these nations.
Young's Literal Translation is in the public domain.