2068 Above, our Lord had used certain considerations to console his disciples over his leaving and against the persecutions and tribulations that would come upon them. Here he amplifies these considerations more clearly. First, he explains the considerations he gave before; and secondly, we see the effect of this explanation on the disciples (v 29).
If we pay close attention to what was said in the pervious two chapters, we can see that our Lord aimed at consoling his disciples against two things: his own leaving them, and the tribulations that would come upon them. But he here explains these... two things in reverse order. He had consoled them first over his leaving because this would take place very soon and he had not yet foretold all the tribulations that would come upon them. But now, since they seemed to be more troubled by their own tribulations than by Christ's leaving, our Lord here consoles them first of all against their forthcoming trials, and then against his leaving (v 5). He does three things concerning the first: first, he gives his intention; secondly, he mentions the tribulations they will suffer from being persecuted (v 2); thirdly, he tells why they will be persecuted (v 3).
2069 He says: I have said that the Jews hate me and you, because they do not know who sent me. I have said that they are inexcusable and that you and the Holy Spirit will bear witness against them. Now I have said all this to you to keep you from falling away, that is, so you don't fall away when the tribulations I have foretold come upon you. And it is fitting that our Lord restrains them from falling after promising the Holy Spirit, because the Holy Spirit is love ‑ "God's love has been poured into our hearts through the Holy Spirit which has been given to us" (Rom 5:5) ‑ and the Holy Spirit prevents stumbling: "Great peace have those who love your law; nothing can make them stumble" (Ps 119:165). Now it is characteristic of friends that they disregard any loss for the sake of one another, as stated in Proverbs (12:26). So, for one who is a friend of God, to suffer punishment and loss is no reason to fall away. Yet because the disciples had not yet received the Holy Spirit before the death of Christ, they did fall away during his passion: "You will all fall away because of me this night" (Mt 26:31). But after the Holy Spirit came there was no falling away.
Source: Commentary on John