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

Psalms 31:11

Be glad in the Lord, and exult, ye righteous: and glory, all ye that are upright in heart.

Read in other translations