Go from the presence of a foolish man, when thou perceivest not in him the lips of knowledge.
Forsake the foolish, and live; and go in the way of understanding.
He that walketh with wise men shall be wise: but a companion of fools shall be destroyed.
Cease, my son, to hear the instruction that causeth to err from the words of knowledge.
1 Corinthians 5:11
But now I have written unto you not to keep company, if any man that is called a brother be a fornicator, or covetous, or an idolater, or a railer, or a drunkard, or an extortioner; with such an one no not to eat.
And have no fellowship with the unfruitful works of darkness, but rather reprove them.