I didn’t tell you that you could not have any contact with unbelievers who commit sexual sins, are greedy, are dishonest, or worship false gods. If that were the case, you would have to leave this world…what I meant was that you should not associate with people who call themselves brothers or sisters in the Christian faith but live in sexual sin, are greedy, worship false gods, use abusive language, get drunk, or are dishonest. After all, do I have any business judging those who are outside the Christian faith? Isn’t it your business to judge those who are inside? (1 Corinthians 5:10-12 GWT)
There is a difference between judging (discerning) and judgment (condemnation).