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

Psalms 22:31

They shall come, and shall declare his righteousness unto a people that shall be born, that he hath done this.

Read in other translations