1 Corinthians 5:10

not meaning the immoral people of this world, or the greedy ones and swindlers, or idolaters, for then you would have to get out of the world and human society altogether!

1 Corinthians 10:27

If one of the unbelievers invites you [to a meal at his home] and you want to go, eat whatever is served to you without asking questions [about its source] for the sake of your conscience.

Matthew 5:14-16

“You are the light of [Christ to] the world. A city set on a hill cannot be hidden;

John 8:23

He said to them, “You are from below, I am from above; you are of this world, I am not of this world.

John 15:19

If you belonged to the world, the world would love [you as] its own and would treat you with affection. But you are not of the world [you no longer belong to it], but I have chosen you out of the world. And because of this the world hates you.

John 17:6

“I have manifested Your name [and revealed Your very self, Your real self] to the people whom You have given Me out of the world; they were Yours and You gave them to Me, and they have kept and obeyed Your word.

John 17:9

I pray for them; I do not pray for the world, but for those You have given Me, because they belong to You;

John 17:15-16

I do not ask You to take them out of the world, but that You keep them and protect them from the evil one.

1 Corinthians 1:20

Where is the wise man (philosopher)? Where is the scribe (scholar)? Where is the debater (logician, orator) of this age? Has God not exposed the foolishness of this world’s wisdom?

2 Corinthians 4:4

among them the god of this world [Satan] has blinded the minds of the unbelieving to prevent them from seeing the illuminating light of the gospel of the glory of Christ, who is the image of God.

Ephesians 2:2

in which you once walked. You were following the ways of this world [influenced by this present age], in accordance with the prince of the power of the air (Satan), the spirit who is now at work in the disobedient [the unbelieving, who fight against the purposes of God].

Philippians 2:15

so that you may prove yourselves to be blameless and guileless, innocent and uncontaminated, children of God without blemish in the midst of a [morally] crooked and [spiritually] perverted generation, among whom you are seen as bright lights [beacons shining out clearly] in the world [of darkness],

1 John 4:5

They [who teach twisted doctrine] are of the world and belong to it; therefore they speak from the [viewpoint of the] world [with its immoral freedom and baseless theories—demanding compliance with their opinions and ridiculing the values of the upright], and the [gullible one of the] world listens closely and pays attention to them.

1 John 4:7

Beloved, let us [unselfishly] love and seek the best for one another, for love is from God; and everyone who loves [others] is born of God and knows God [through personal experience].

1 John 5:19

We know [for a fact] that we are of God, and the whole world [around us] lies in the power of the evil one [opposing God and His precepts].

Revelation 12:9

And the great dragon was thrown down, the age-old serpent who is called the devil and Satan, he who continually deceives and seduces the entire inhabited world; he was thrown down to the earth, and his angels were thrown down with him.

Treasury of Scripture Knowledge

Summary

Yet not altogether with the fornicators of this world, or with the covetous, or extortioners, or with idolaters; for then must ye needs go out of the world.

Altogether

General references

Bible References

Altogether

1 Corinthians 10:27
If one of the unbelievers invites you [to a meal at his home] and you want to go, eat whatever is served to you without asking questions [about its source] for the sake of your conscience.

Of this

1 Corinthians 1:20
Where is the wise man (philosopher)? Where is the scribe (scholar)? Where is the debater (logician, orator) of this age? Has God not exposed the foolishness of this world’s wisdom?
John 8:23
He said to them, “You are from below, I am from above; you are of this world, I am not of this world.
John 15:19
If you belonged to the world, the world would love [you as] its own and would treat you with affection. But you are not of the world [you no longer belong to it], but I have chosen you out of the world. And because of this the world hates you.
John 17:6
“I have manifested Your name [and revealed Your very self, Your real self] to the people whom You have given Me out of the world; they were Yours and You gave them to Me, and they have kept and obeyed Your word.
2 Corinthians 4:4
among them the god of this world [Satan] has blinded the minds of the unbelieving to prevent them from seeing the illuminating light of the gospel of the glory of Christ, who is the image of God.
Ephesians 2:2
in which you once walked. You were following the ways of this world [influenced by this present age], in accordance with the prince of the power of the air (Satan), the spirit who is now at work in the disobedient [the unbelieving, who fight against the purposes of God].
1 John 4:5
They [who teach twisted doctrine] are of the world and belong to it; therefore they speak from the [viewpoint of the] world [with its immoral freedom and baseless theories—demanding compliance with their opinions and ridiculing the values of the upright], and the [gullible one of the] world listens closely and pays attention to them.

For

Matthew 5:14
“You are the light of [Christ to] the world. A city set on a hill cannot be hidden;
John 17:15
I do not ask You to take them out of the world, but that You keep them and protect them from the evil one.
Philippians 2:15
so that you may prove yourselves to be blameless and guileless, innocent and uncontaminated, children of God without blemish in the midst of a [morally] crooked and [spiritually] perverted generation, among whom you are seen as bright lights [beacons shining out clearly] in the world [of darkness],
1 John 5:19
We know [for a fact] that we are of God, and the whole world [around us] lies in the power of the evil one [opposing God and His precepts].
Revelation 12:9
And the great dragon was thrown down, the age-old serpent who is called the devil and Satan, he who continually deceives and seduces the entire inhabited world; he was thrown down to the earth, and his angels were thrown down with him.

General references

Luke 15:2
Both the Pharisees and the scribes began muttering and complaining, saying, “This man accepts and welcomes sinners and eats with them.”