Paul had a teaching about this:
1 Corinthians 5:11 I meant that you are not to associate with anyone who claims to be a believer yet indulges in sexual sin, or is greedy, or worships idols, or is abusive, or is a drunkard, or cheats people. Don’t even eat with such people.
Why is the removal of fellowship necessary? To not be influenced to sin in the same way but also to bring the person in sin into repentance.
Anything not done out of love is in itself wrong.
1 Corinthians 5:11 I meant that you are not to associate with anyone who claims to be a believer yet indulges in sexual sin, or is greedy, or worships idols, or is abusive, or is a drunkard, or cheats people. Don’t even eat with such people.
Why is the removal of fellowship necessary? To not be influenced to sin in the same way but also to bring the person in sin into repentance.
Anything not done out of love is in itself wrong.