The Danger of Eating With Lowly People(Masechet Berachot Daf מג: Perek 6 Siman 57)
(condensed from Ein Ayah, Berachot 6:57)
Gemara: There are six things that are negative for a talmid chacham to do: … He should not take part in a meal of amei ha’aretz (lowly people), for he will come to follow them.
Ein Ayah: We saw in the previous piece that even though one may be able to reach a higher level if he keeps to himself, it is still preferable to give that up in order to join up with other scholars. However, now we are told to realize that the benefit of the group is true only in regard to scholars, but he should not join the group of lowly people. He should not think that if he lowers himself a little bit, it will still help in that he can raise the others. To the contrary, it is they who will lower him rather than his raising them up. As opposed to the aforementioned problem of coming late to the beit midrash where people only say that he is a posheia, where objectively he is sometimes justified in doing it to increase completeness, in eating with lowly people he actually does lower himself.