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

Deuteronomy 20:12

And if it will make no peace with thee, but will make war against thee, then thou shalt besiege it:

Read in other translations