Second Corinthians 6:17 says, "Therefore, come out from among them and be separate, says the Lord; do not touch any unclean thing, and I will welcome you" (CSB). This call to "come out from among them" appears to quote Isaiah 52:11. Though in different contexts, similar wording is used in Jeremiah 51:45 and Revelation 18:4. Corinth was a wealthy city known for its immorality. In 2 Corinthians, Paul was calling the believers in Corinth to come out from the sexual immorality, idol worship, and other worldly living of society. Believers live in the world, but are not of it. We are called to live for righteousness, not the passing and sinful values of the worldly system (1 John 2:15–17). In living as God would have us live, we will be a light to the world, reflecting who God is (Matthew 5:14–16).
Believers are to be "in the world but not of the world." We are to "come out from among them" in the sense that we should be separate from the sins of the world and the false values of the world. We should not mix the evil worldly system with our new nature in Christ (2 Corinthians 5:17). Rather, we live as new men and women who are being transformed by the renewing of our minds (Romans 12:1–2), putting to death our sinful ways and living instead in the ways of Christ. Some have taught that "come out from among them" means believers should be completely separated from the world system. Some teachers have decried things such as going to movie theaters, playing cards, and dancing. Paul's point is not to completely remove oneself from the world, something he had earlier clarified in 1 Corinthians 5:9–13.
In Jesus' High Priestly Prayer, He prayed, in part, "I do not ask that you take them out of the world, but that you keep them from the evil one. They are not of the world, just as I am not of the world. Sanctify them in the truth; your word is truth. As you sent me into the world, so I have sent them into the world" (John 17:15–18). Clearly God's call is not for us to avoid all participation with the world. We are His ambassadors in the world, meant to spread the truth of the gospel (Matthew 5:13–16; 28:18–20; 1 Peter 3:15–16). We cannot do that if we avoid all contact with the world. However, God does call us to avoid participation with sin and unrighteousness. We are to be separate from that which is against God.