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

Deuteronomy 24:17

You shall not deprive the foreigner or the fatherless of justice, nor take a widow’s clothing in pledge;

Read in other translations