Here the Apostle assigns the reason why he rejoices over them; then he draws his conclusion, in which he does two things. First, he discloses the intention he had in writing; secondly, he reveals the joy he had over their amendment (v. 13).
He says therefore: from the fact that you are undefiled, it is apparent that although I wrote to you to rebuke you in my epistle, it was not only on account of the one who did the wrong by staining his father's chamber with incest, as it says in 1 Cor. (chap. 5), nor on account of the one alone who suffered the wrong, namely, on account of the father, as i...f not on account of the zeal for revenge only, but I did this that our solicitude might be revealed, which we have for you, i.e., that you might know how careful we are for you. And I say this in the sight of God, as an oath with God as witness: "For I want you to know how greatly I strive for you" (Col. 2:1). Or another way: I have not written to you only for the sake of him that did the wrong, that he might be corrected, or for him that suffered it, that he might be placated, but that our solicitude for you might be revealed, namely, to you who were indignant for the insult and for the punishment inflicted on the fornicator: be reconciled to God.
Source: Commentary on 2 Corinthians