Here he speaks of the remedy against pride. In regard to this he does three things. First, he mentions the remedy applied; secondly, he discloses his prayer to have the remedy removed (v. 8); thirdly, he tells the Lord's answer giving the reason for the remedy applied (v. 9).
In regard to the first it should be noted that very often a wise physician procures and permits a lesser disease to come over a person in order to cure or avoid a greater one. Thus, to cure a spasm he procures a fever. This the Apostle shows was done to him by the physician of souls, our Lord Jesus Christ. For Christ, as... the supreme physician of souls, in order to cure greater sins, permits them to fall into lesser, and even mortal sins. But among all the sins the gravest is pride, for just as charity is the root and beginning of the virtues, so pride is the root and beginning of all vices: "Pride is the beginning of all sin" (Sir. 10:15, Vulgate). This is made clear in the following way. Charity is called the root of all the virtues, because it unites one to God, who is the ultimate end. Hence, just as the end is the beginning of all actions to be performed, so charity is the beginning of all the virtues. But pride turns away from God, for pride is an inordinate desire for one's own excellence. For if a person seeks some excellence under God, if he seeks it moderately and for a good end, it can be endured. But if it is not done with due order, he can even fall into other vices, such as ambition, avarice, vainglory and the like. Yet it is not, properly speaking, pride, unless a person seeks excellence without ordaining it to God. Therefore pride, properly called, separates from God and is the root of all vices and the worst of them. This is why God resists the proud, as it says in Jas. (4:6). Therefore, because the matter of this vice, that is, pride, is mainly found in things that are good, because its matter is something good, God sometimes permits his elect to be prevented by something on their part, e.g. infirmity or some other defect, and sometimes even mortal sin, from obtaining such a good, in order that they be so humbled on this account that they will not take pride in it, and that being thus humiliated, they may recognize that they cannot stand by their own powers. Hence it says in Rom. (8:28): "We know that in everything God works for good with those who love him," not by reason of their sin, but by God's providence.
Therefore, because the Apostle had good reason for glorying in the spiritual choice by which he was chosen by God: "He is a chosen instrument of mine" (Ac. 9:15), and in his knowledge of God's secrets, because he says that he was caught up into the third heaven where he heard secret words, which it is not granted to man to utter, and in enduring evils because he had "far more imprisonments, with countless floggings, and often near death" (2 Cor. 11:23), and in his virginal integrity, because "I wish that all were as I myself am" (1 Cor. 7:7), and especially in the outstanding knowledge with which he shone and which especially puffs one up: for these reasons the Lord applied a remedy, lest he be lifted up with pride. And this is what he says: to keep me from being too elated by the abundance of revelations: "Do not exalt yourself through your soul's counsel, lest your soul be torn in pieces like a bull" (Sir. 6:2); "Being exalted I have been humbled and troubled" (Ps. 88:15, Vulgate). Furthermore, to show that these revelations were made to him, he says: a thorn was given me, i.e., for my benefit and my humiliation: "You have lifted me up and set me as it were upon the wind" (Job 31:22); there was given, I say, to me a thorn tormenting my body with bodily weakness, that the soul might be healed. For it is said that he literally suffered a great deal from pain in the ileum [pelvis]. Or a thorn in the flesh, i.e., of concupiscence arising from my flesh, because he was troubled a great deal: "For I do not do the good I want, but the evil I do not want is what I do... So I find it to be a law that when I want to do right, evil lies close at hand... So then, I of myself serve the law of God with my mind, but with my flesh I serve the law of sin" (Rom. 7:19, 21, 25). Hence, Augustine says that there existed in him movements of concupiscence which God's grace, nevertheless, restrained.
That thorn, I say, is a messenger of Satan, i.e., a wicked angel, for it was an angel sent by God or permitted, but it was Satan's because Satan's intention is to subvert, but God's is to humble and to render approved. Let the sinner beware, if the Apostle and vessel of election was not secure.
Source: Commentary on 2 Corinthians