1 Corinthians 5:10-12
Amplified Bible, Classic Edition
10 Not [meaning of course that you must] altogether shun the immoral people of this world, or the greedy graspers and cheats and thieves or idolaters, since otherwise you would need to get out of the world and human society altogether!
11 But now I write to you not to associate with anyone who bears the name of [Christian] brother if he is known to be guilty of immorality or greed, or is an idolater [whose soul is devoted to any object that usurps the place of God], or is a person with a foul tongue [railing, abusing, reviling, slandering], or is a drunkard or a swindler or a robber. [No] you must not so much as eat with such a person.
12 What [business] of mine is it and what right have I to judge outsiders? Is it not those inside [the church] upon whom you are to pass disciplinary judgment [passing censuring sentence on them as the facts require]?Read full chapter