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

John 20:23

If you forgive anyone’s sins, they have been forgiven them. If you retain anyone’s sins, they have been retained.”

Read in other translations