1 Corinthians 5:9-12
9 I wrote to you in my letter not to keep company with sexually immoral people. 10 Yet I did not mean the sexually immoral people of this world, or the covetous and extortioners, or the idolaters, since you would then need to go out of the world. 11 But I have written to you not to keep company with any man who is called a brother, who is sexually immoral, or covetous, or an idolater, or a reviler, or a drunkard, or an extortioner. Do not even eat with such a person. 12 For what have I to do with judging those also who are outside? Do you not judge those who are inside?
2 Timothy 3:16
16 All Scripture is inspired by God and is profitable for teaching, for reproof, for correction, and for instruction in righteousness
15 “Now if your brother sins against you, go and tell him his fault between you and him alone. If he listens to you, you have gained your brother. 16 But if he does not listen, then take with you one or two others, that by the testimony of two or three witnesses every word may be established. 17 If he refuses to listen to them, tell it to the church. But if he refuses to listen even to the church, let him be to you as a Gentile and a tax collector.
11 But when Peter came to Antioch, I withstood him face to face, because he stood condemned. 12 Before certain men came from James, he ate with the Gentiles. But when they came, he withdrew and separated himself, fearing those who were of the circumcision. 13 And the other Jews, likewise, joined together in hypocrisy with him, so that even Barnabas was carried away by their hypocrisy.
1 Corinthians 6:1-6
Dare any of you, having a matter against another, go to the law before the unrighteous, and not before the saints? 2 Do you not know that the saints will judge the world? If the world will be judged by you, are you unworthy to judge the smallest matters? 3 Do you not know that we shall judge angels? How much more the things that pertain to this life? 4 If then you have judgments dealing with matters of this life, do you appoint as judges those who are least esteemed in the church? 5 I speak to your shame. Is it true that there is not even one wise man among you who shall be able to judge between his brothers? 6 But brother goes to the law against brother, and before unbelievers, at that.
Brothers, if a man is caught in any transgression, you who are spiritual should restore such a one in the spirit of meekness, watching yourselves, lest you also be tempted.
19 Brothers, if any one of you strays from the truth and someone corrects him, 20 let him know that he who converts the sinner from the error of his way will save a soul from death and will cover a multitude of sins.