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

Deuteronomy 23:24

Thou shalt observe the words that proceed from between thy lips; and as thou hast vowed a gift to the Lord God, [so] shalt thou do that which thou hast spoken with thy mouth.

Read in other translations