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

Psalms 138:5

the last and the first: thou hast fashioned me, and laid thine hand upon me.

Read in other translations