Proverbs 14:7
Go from the presence of the foolish man when thou dost not perceive in him the lips of knowledge.
Proverbs 9:6
Forsake that which is foolish and live and go in the way of understanding.
Proverbs 13:20
He that walks with wise men shall be wise, but the companion of fools shall be destroyed.
Proverbs 19:27
Cease, my son, to hear the teaching that induces one to deviate from the reasons of wisdom.
1 Corinthians 5:11
But now I have written unto you not to associate with anyone calling himself a brother if he is a fornicator or covetous or an idolater or a railer or a drunkard or an extortioner; with such a one do not even eat.
Ephesians 5:11
And have no fellowship with the unfruitful works of darkness, but rather reprove them.