Proverbs 9:6 Forsake the foolish, and live; and go in the way of understanding.
Proverbs 13:20 He that walks 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 causes to err from the words of knowledge.
1 Corinthians 5:11 But now I have written to you not to keep company, if any man that is called a brother be a fornicator, or covetous, or an idolater...
Ephesians 5:11 And have no fellowship with the unfruitful works of darkness, but rather reprove them.