After showing that the Lord comforts his servants in their tribulations, i.e., the ministers of the faith and preachers, the Apostle now shows that their comfort redounds to the good of others: first, he shows that their comfort results in the advantage and salvation of others; secondly, he shows the relation of this comfort to salvation (v. 6b).
In regard to the first, it should be noted that the Apostle says that he received three things: afflictions, when he says, "In all our afflictions"; comfort, when he says, "who comforts us"; exhortation, when he says, "so that we may be able to comfo...rt those who are in any affliction". By taking these three things in a passive sense, we say that the apostles are afflicted, comforted and exhorted. Hence, the Apostle also shows that three things result in the comfort of others, and these in a definite order. First, their affliction, when he says, If we are afflicted it is for your comfort and salvation, because by our example God is telling you to endure suffering, from which eternal salvation will come to you. Hence in 1 Maccabees (6:34) we read that "they showed the elephants the juice of grapes and mulberries, to arouse them for battle". This is done when the lukewarm and lazy are shown the sufferings of the saints as an example. Secondly, he shows that their comfort turns out to the advantage of others, when he says, and if we are comforted, it is for your comfort: as if to say, the very comfort by which we are comforted by the hope of a reward is a comfort to you, for by our example you also rejoice in having the same hope of a reward. Thirdly he shows that the exhortation they receive turns out to the benefit of others, saying, if we are exhorted by an internal inspiration or by scourges, it is for your exhortation, i.e., that you be inspired to greater things and hope for salvation. Hence it says in 2 Maccabees (15:17) that, "exhorted by the word of Judas, they determined to attack bravely."
He suggests the relationship between this comfort and salvation when he says, which you experience when you patiently endure the same sufferings that we suffer. In regard to this he does two things: first, he shows the patience to be had in adversity; secondly, the fruit which results from patience (v. 7).
He says, therefore, I say that these things work for your salvation, inasmuch as by our example you are strong enough to endure sufferings and patiently endure the trials which we also suffer: "By your endurance you will gain your lives" (Lk. 21:19); "As an example of suffering and patience, brethren, take the prophets" (Jas. 5:10).
Source: Commentary on 2 Corinthians