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

Psalms 31:21

Blessed be the Lord: for he hath shewed me his marvellous kindness in a strong city.

Read in other translations