Then when he says, Therefore come out from them, he confirms this admonition with another authority. In regard to this he does two things. First, he confirms the admonition by an authority; secondly, he indicates the reward promised to those who heed the admonition (v. 18).
He says therefore, i.e., because you are temples of God, come out from them: "Depart, depart, go out from there! Touch no unclean thing; go out from the midst of it" (Is. 52:11). Here he says three things: go out, be separated from them, and do not touch anything unclean, because there are three ways we should behave towar...d unbelievers. First, we should go out from them by abstaining from sins: "Ho! ho! Flee from the land of the north" (Zech. 2:6). But the Donatists say that we must depart bodily from an evil society. But this is not true. Hence, the Apostle's words must be understood of a spiritual separation and are explained in this way: go out spiritually by not following their life: "As a lily among brambles" (S of S 2:2), and this in order to avoid the very occasions of sin given by them. Hence he says, be separate, i.e., be far from consenting to them: "For I have come to set a man against his father" (Matt. 10:35); "Depart, I pray you, from the tents of these wicked men" (Num. 16:26). Thirdly, to rebuke them when they do wrong; hence he says, touch nothing unclean, i.e., do not consent to them in evil: "They not only do them but approve those who practice them" (Rom. 1:32); "Take no part in the unfruitful works of darkness, but instead expose them." (Eph. 5:11). And this because "whoever touches pitch will be defiled [by it]" (Sir. 13:1).
Source: Commentary on 2 Corinthians