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

Deuteronomy 25:3

And they shall scourge him with forty stripes in number, they shall not inflict more; for if thou shouldest scourge him [with] more stripes beyond these stripes, thy brother will be disgraced before thee.

Read in other translations