Then because they might suppose that the Apostle said this to commend himself, he removes this false supposition, saying, we are not commending ourselves to you again, i.e., we are not saying this for our commendation, as though trying to commend ourselves again. For above (in chapter three and in 1 Corinthians 3) he said certain things for his commendation: "For it is not the man who commends himself that is accepted, but the man whom the Lord commends" (2 Cor. 10:18). But we say this for your benefit. As if to say, but giving you cause to be proud of us, i.e., matter for glorifying. For the ...false apostles took glory in elation, saying that they were taught by the apostles, who were from the Lord, namely, by Peter and James, who were pillars of the faith, thus detracting from the Apostle, as though he had not been with the Lord Jesus, and wishing to destroy his teaching. Therefore, in order that the Corinthians, too, might have something in which to glory against those false apostles, namely, the grace given to the Apostle, so as to refute them and not be seduced by them, he said this. Hence, he continues, so that you may be able to answer those, i.e., against them, or to those reprimanding, what you can speak.
To them, I say, who pride themselves on a man's position and not on his heart. This can be explained in three ways. First, they glory in face, i.e., in the external observances of the Law, because that is what they taught, and not in heart, i.e., in the virtue of Christ, which is in the heart, unlike the Apostle, who in virtue of the cross of Christ, said: "Far be it from me to glory except in the cross of our Lord Jesus Christ" (Gal. 6:14). Likewise they glory in face, i.e., in the presence of men, as hypocrites do, and not in heart, i.e., in the testimony of conscience, as the Apostle says above (2 Cor. 1:12): "For our boast is this, the testimony of our conscience." Or they glory in face, because they pretend some things outwardly, which they do not feel in the heart, namely, that they claimed to have been instructed by the apostles and were following their doctrine, which on the contrary they were trying to destroy. It is clear, therefore, how the Apostle procured the salvation of his neighbor by teaching.
Source: Commentary on 2 Corinthians