Proverbs 14:7
Stay away from a foolish man; you will gain no knowledge from his speech.
Berean Standard Bible
Go from the presence of a foolish man, when thou perceivest not in him the lips of knowledge.
Stay away from a foolish man, for you won’t find knowledge on his lips.