Therefore, I endure all things: he shows the cause; for it is not the pain, but the cause, that makes a martyr.
But there are two causes involved in martyrdom: namely, for the honor of God and the salvation of our neighbor. For the honor of God, because for your sake we are put to death all the day long (Rom 8:36); for the salvation of our neighbor, because he says here, for the sake of the elect: greater love than this has no man, that a man lay down his life for his friends (John 15:13); because he has laid down his life for us, we ought to lay down our lives for the brethren (1 John 3:16)....
And he says, for the sake of the elect, because whatever good we do, it redounds to the welfare of the elect, and not of the reprobate.
But how? That they also may obtain the salvation. But was not Christ's pain sufficient? Effectively, yes; but the pain of the Apostle helped in two ways: first, because he gave an example of perseverance in the faith; second, because he confirmed the faith, and as a result they were led into salvation. And this in Christ, i.e., shall come to us through him: for he shall save his people from their sins (Matt 1:21) and this not only through present safety of grace, but with heavenly glory: your reward will be great in heaven (Matt 5:12).
Source: Commentary on 2 Timothy