Next, he shows that this action is necessary. First, the Evangelist mentions what Peter said which provoked Christ's answer; secondly, we see what Christ said.
Peter says, You shall never wash my feet. He is saying in effect: By no means will I submit to this from my Teacher, my Lord and my God. And although Peter said this out of zeal, it was an imprudent and disordered zeal: "They have a zeal for God, but it is not enlightened" (Rom 10:2). His zeal was disordered for three reasons. He refused something that was beneficial and necessary; for as we read: "We do not know how to pray as we ough...t" (Rom 8:26). And so it is imprudent to refuse what God gives us, even if it seems disadvantageous. Paul too asked to be freed from his thorn (2 Cor 12:8), yet it was for his benefit. Again, it seemed to indicate a certain disrespect for Christ by wanting to go against his plans. Finally, it seemed to disparage his companions in that the others, according to Origen, yielded to Christ without an argument, while Peter refused, saying, You shall never wash my feet.
Our Lord reproved him, saying, If I do not wash you, you have not part in me. This statement can refer to two things: to the action that Christ was performing, or to what the action signified.
If we refer it to what the action signified, the meaning is clear. For no one can share in the eternal inheritance and be a joint heir with Christ unless he is spiritually clean, for we read: "But nothing unclean shall enter it" (Rev 21:27). And in the Psalm (15:1) it says: "O Lord, who shall sojourn in thy tent?" And the answer is given: "He who walks blamelessly." Therefore, it is like he was saying: If I do not wash you, you will not be clean; and if you are not clean, you have no part in me.
But if we refer this statement to the action itself, then it can be asked if this washing was necessary for salvation. We can say to this that just as some things are forbidden because they are evil, and some things are evil because they are forbidden, so some things are commanded because they are necessary, and some things are necessary because they are commanded. And so this washing, about which our Lord said, If I do not wash you, you have no part in me, if considered in itself, was not necessary for salvation. But on the supposition that it was commanded by Christ, then it was necessary: "To obey is better than sacrifice," and so "stubbornness is as iniquity and idolatry" (1 Sam 15:22-23).
Source: Commentary on John