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

Psalms 102:20

To hear the groaning of the prisoner; to loose those that are appointed to death;

Read in other translations