Go from the presence of a foolish man, when thou perceivest not in him the lips of knowledge.
Proverbs 9:6
Forsake the foolish, and live; and go in the way of understanding.
Proverbs 13:20
He that walketh with wise men shall be wise: but a companion of fools shall be destroyed.
Proverbs 19:27
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.
Ephesians 5:11
And have no fellowship with the unfruitful works of darkness, but rather reprove them.