Christ delegated the forgiveness of sins to the Apostles and their successors. The Sacrament of Reconciliation.
Care to quote the exact passage? I have my KJII bible standing by.
The means by which God forgives sins after baptism is confession: “If we confess our sins, he is faithful and just, and will forgive our sins and cleanse us from all unrighteousness” (1 John 1:9). Minor or venial sins can be confessed directly to God, but for grave or mortal sins, which crush the spiritual life out of the soul, God has instituted a different means for obtaining forgivenessthe sacrament known popularly as confession, penance, or reconciliation.
This sacrament is rooted in the mission God gave to Christ in his capacity as the Son of man on earth to go and forgive sins (cf. Matt. 9:6). Thus, the crowds who witnessed this new power “glorified God, who had given such authority to men” (Matt. 9:8; note the plural “men”). After his resurrection, Jesus passed on his mission to forgive sins to his ministers, telling them, “As the Father has sent me, even so I send you. . . . Receive the Holy Spirit. If you forgive the sins of any, they are forgiven; if you retain the sins of any, they are retained” (John 20:2123).
Since it is not possible to confess all of our many daily faults, we know that sacramental reconciliation is required only for grave or mortal sinsbut it is required, or Christ would not have commanded it.
21* [Jesus] said to them again,l Peace be with you. As the Father has sent me, so I send you. 22* And when he had said this, he breathed on them and said to them,m Receive the holy Spirit. 23* n Whose sins you forgive are forgiven them, and whose sins you retain are retained. John 20
Simon Peter said in reply, You are the Messiah, the Son of the living God. 17Jesus said to him in reply, Blessed are you, Simon son of Jonah. For flesh and blood* has not revealed this to you, but my heavenly Father. 18k And so I say to you, you are Peter, and upon this rock I will build my church,* and the gates of the netherworld shall not prevail against it. 19l I will give you the keys to the kingdom of heaven.* Whatever you bind on earth shall be bound in heaven; and whatever you loose on earth shall be loosed in heaven. 20* m Then he strictly ordered his disciples to tell no one that he was the Messiah.
Matthew 16
Hope this helps.