Then when he says, I will no longer talk much with you, he mentions another source of their consolation, based on the reason for his death. Sometimes the reason for a person's death is a cause for sorrow, as when one is killed because he is guilty; other reasons are consoling, as when someone dies for that good we call virtue: "Let none of you suffer as a murderer or a thief... yet if one suffer as a Christian, let him not be ashamed" (1 Pet 4:15). With respect to this, our Lord first shows that a sin was not the reason for his death; secondly, that it was caused by the virtues of obedience an...d love, so that the world may know that I love the Father.
He says, I will no longer talk much with you, because the time is short: "Little children, yet a little while I am with you" (13:33). Or, because you are not yet ready for it: "I have yet many things to say to you, but you cannot bear them now" (16:12). Or, I will no longer talk much with you, because I will briefly explain to you that I will not die because of my own guilt. And he does this when he says, for the ruler of this world is coming. He has no power over me. This ruler is the devil, and he is called a ruler of this world not because he is its creator, or because of his natural power, as the Manicheans blasphemed, but because of guilt, that is, because of the lovers of this world. For this reason he is called the ruler of the world and of sin: "For we are not contending against flesh and blood, but against... the world rulers of this present darkness" (Eph 6:12). Therefore, he is not the ruler of creatures, but of sinners and of darkness: "He is king over all the children of pride" (Job 41:34).
So this ruler comes to afflict: he entered into the heart of Judas to incite his betrayal, and into the hearts of the Jews to incite them to kill. But he has no power over me, for he has no power over us except because of sin: "Every one who commits sin is a slave to sin" (8:34). Now in Christ there was no sin: not in his soul, "He committed no sin" (1 Pet 2:22), nor in his flesh, because he was conceived of the Virgin without original sin through the Holy Spirit: "the child to be born of you will be called holy, the Son of God" (Lk 1:35). Because the devil even attacked Christ, over whom he had no right, he deserved to lose what he justly held: "What have I to do with you, Jesus, Son of the Most High God?" (Mk 5:7). So it is clear that the cause of Christ's death was not his own guilt; and there was no reason for him to die if he had no sin.
Source: Commentary on John