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

Psalms 17:1

Hear the right, O Lord, attend unto my cry, give ear unto my prayer, that goeth not out of feigned lips.

Read in other translations