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

Psalms 50:18

For if thou desiredst sacrifice, I would have given [it]: thou wilt not take pleasure in whole-burnt-offerings.

Read in other translations