Proverbs 14:7

7 Go from the presence of a foolish man, when thou perceivest not [in him] the lips of knowledge.