Deuteronomy 20:13

13 And when the LORD thy God hath delivered it into thine hands, thou shalt smite every male thereof with the edge of the sword: