In 1 Corinthians chapter 5, Paul is writing to the church about how to deal with sin. The Corinthian church had someone among their midst that was participating in flagrant sin and the problem was that they were ignoring it. He tells them to meet together, and if this brother will not forsake his sin they are deliver him over to satan.
4 in the name of the Lord Jesus. You must call a meeting of the church. I will be present with you in spirit, and so will the power of our Lord Jesus. 5 Then you must throw this man out and hand him over to Satan so that his sinful nature will be destroyed and he himself will be saved on the day the Lord returns. 1 Corinthians 5:4-5
Does he really mean that? He said it; apparently, he meant it.
How can you do this if you are not to judge sin?
There is more…
9 When I wrote to you before, I told you not to associate with people who indulge in sexual sin. 10 But I wasn’t talking about unbelievers who indulge in sexual sin, or are greedy, or cheat people, or worship idols. You would have to leave this world to avoid people like that. 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.
12 It isn’t my responsibility to judge outsiders, but it certainly is your responsibility to judge those inside the church who are sinning. 13 God will judge those on the outside; but as the Scriptures say, “You must remove the evil person from among you.” 1 Corinthians 5:9-13