Revelation 18:4

Then I heard another voice from heaven, saying, "Come out of her, my people, so that you do not share in her sins, and so that you do not receive her plagues [i.e., judgments].

2 Corinthians 6:17

Therefore, the Lord says [Isa. 52:11], "You people should leave their company [i.e., unbelievers, verse 14] and separate yourselves from them, and do not touch anything unclean [i.e., their evil practices], and I will welcome you."

Treasury of Scripture Knowledge

Summary

Remove out of the midst of Babylon, and go forth out of the land of the Chaldeans, and be as the he goats before the flocks.

Bible References

Out of the midst

2 Corinthians 6:17
Therefore, the Lord says [Isa. 52:11], "You people should leave their company [i.e., unbelievers, verse 14] and separate yourselves from them, and do not touch anything unclean [i.e., their evil practices], and I will welcome you."
Revelation 18:4
Then I heard another voice from heaven, saying, "Come out of her, my people, so that you do not share in her sins, and so that you do not receive her plagues [i.e., judgments].