Proverbs 14:7
Go from the presence of a foolish man, when you perceive that he does not have lips of knowledge.
Proverbs 9:6
Forsake the foolish, and live. Travel in the way of understanding.
Proverbs 13:20
The one who walks with wise men will be wise. A companion of fools will be destroyed.
Proverbs 19:27
Stop listening to instruction (discipline) (correction), my son, and you will stray from the words of knowledge.
1 Corinthians 5:11
I wrote you not to keep company with any man who is called a brother who is a fornicator, or who is greedy, or who worships idols, or constantly gets drunk, or cheats people. Do not even eat with such a person.
Ephesians 5:11
Have no fellowship with the unfruitful works of darkness, but instead reprove (expose) (convict) them.