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

Deuteronomy 21:9

So shalt thou put away the guilt of innocent blood from among you, when thou shalt do that which is right in the sight of the Lord.

Read in other translations