Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

Deuteronomy 20: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:

Read in other translations