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

Deuteronomy 20:10

When thou comest nigh unto a city to fight against it, then proclaim peace unto it.

Read in other translations