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

Psalms 30:7

Thou hast hated them that idly persist in vanities: but I have hoped in the Lord.

Read in other translations