Proverbs 14:7 Midrash

לֵ֣ךְ מִ֭נֶּגֶד לְאִ֣ישׁ כְּסִ֑יל וּבַל־יָ֝דַ֗עְתָּ שִׂפְתֵי־דָֽעַת׃

Go from the presence of a foolish man, for thou wilt not perceive the lips of knowledge.

Read midrashic interpretation of Proverbs 14:7: and classical rabbinic exegesis.