1 Corinthians 5:9-10 CEB

9 I wrote to you in my earlier letter not to associate with sexually immoral people.
10 But I wasn't talking about the sexually immoral people in the outside world by any means—or the greedy, or the swindlers, or people who worship false gods—otherwise, you would have to leave the world entirely!