1 Corinthians 5:11sunanamignumi
But actually, I wrote to you not to associate with any so-called brother if he is an immoral person, or covetous, or an idolater, or a reviler, or a drunkard, or a swindler--not even to eat with such a one.
Paul defines whom believers should not associate with: immoral so-called brothers.
1 Kings 11:2bo
from the nations concerning which the Lord had said to the sons of Israel, "You shall not associate with them, nor shall they associate with you, {for} they will surely turn your heart away after their gods." Solomon held fast to these in love.
Associating with foreign nations turned Solomon's heart to other gods.
Joshua 23:7bo
so that you will not associate with these nations, these which remain among you, or mention the name of their gods, or make {anyone} swear {by them,} or serve them, or bow down to them.
Israel warned not to associate with remaining idolatrous nations.
2 Thessalonians 3:14sunanamignumi
If anyone does not obey our instruction in this letter, take special note of that person and do not associate with him, so that he will be put to shame.
Not associating with the disobedient as church discipline, to shame them.
Zechariah 13:7raah
"Awake, O sword, against My Shepherd, And against the man, My Associate," Declares the Lord of hosts. "Strike the Shepherd that the sheep may be scattered; And I will turn My hand against the little ones.
God calls His Shepherd 'My Associate,' a close companion.