Deuteronomy 20:13 (KJV)

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