Now if anyone has caused pain, he has caused it not to me, but in some measure - not to put it too severely - to all of you. For such a one, this punishment by the majority is enough, so you should rather turn to forgive and comfort him, or he may be overwhelmed by excessive sorrow. So I beg you to reaffirm your love for him. For this is why I wrote, that I might test you and know whether you are obedient in everything. Anyone whom you forgive, I also forgive. Indeed, what I have forgiven, if I have forgiven anything, has been for your sake in the presence of Christ, so that we would not be outwitted by Satan; for we are not ignorant of his designs.
2 Corinthians 2:5-11 ESV