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

Psalms 102:18

This shall be written for the generation to come: and the people which shall be created shall praise the Lord.

Read in other translations