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

Deuteronomy 21:17

But he shall acknowledge the firstborn of the hated one to give to him double of all things which shall be found by him, because he is the first of his children, and to him belongs the birthright.

Read in other translations