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

Psalms 88:39

But thou hast cast off and set at nought, thou hast rejected thine anointed.

Read in other translations