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

Psalms 139:14

Surely the righteous shall give thanks to thy name: the upright shall dwell in thy presence.

Read in other translations