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

Psalms 17:7

And when I was afflicted I called upon the Lord, and cried to my God: he heard my voice out of his holy temple, and my cry shall enter before him, [even] into his ears.

Read in other translations