It's important to not take each verse individually, IMO.
The priest gives the Eucharist which Christ says we need.
John 6:54-57
"Whoever eats my flesh and drinks my blood has eternal life, and I will raise him on the last day. For my flesh is true food, and my blood is true drink. Whoever eats my flesh and drinks my blood remains in me and I in him. Just as the living Father sent me and I have life because of the Father, so also the one who feeds on me will have life because of me."
Christ gave his Apostles the ability to forgive sins. This is why I go to Confession.
John 20:19–23
“On the evening of that day, the first day of the week, the doors being shut where the disciples were, for fear of the Jews, Jesus came and stood among them and said to them, ‘Peace be with you.’ When he had said this, he showed them his hands and his side. Then the disciples were glad when they saw the Lord. Jesus said to them again, ‘Peace be with you. As the Father has sent me, even so I send you.’ And when he had said this, he breathed on them and said to them, “Receive the Holy Spirit. If you forgive the sins of any, they are forgiven; if you retain the sins of any, they are retained.”
"Jesus came and stood among them and said to them, ‘Peace be with you.’ When he had said this, he showed them his hands and his side. Then the disciples were glad when they saw the Lord. Jesus said to them again, ‘Peace be with you. As the Father has sent me, even so I send you.’ And when he had said this, he breathed on them and said to them, “Receive the Holy Spirit. If you forgive the sins of any, they are forgiven; if you retain the sins of any, they are retained.”