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

Psalms 71:23

My lips shall greatly rejoice when I sing unto thee; and my soul, which thou hast redeemed.

Read in other translations