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

Psalms 31:7

I will be glad and rejoice in your loving kindness, for you have seen my affliction. You have known my soul in adversities.

Read in other translations