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

Deuteronomy 20:12

But if they will not hearken to thee, but wage war against thee, thou shalt invest it;

Read in other translations