(Proverbs 26:8): "As one who binds a stone in a sling, so is he who gives honor to a fool." Rabbi Alexandrai said: Anyone who apportions honor to a fool is like one who throws a stone to Merkulis [the pagan idol whose worship was performed precisely by hurling stones at it].
Honoring a Fool Is Like Throwing a Stone to Merkulis
Midrash Mishlei 26:2
(משלי כו ח): "כצרור אבן במרגמה, כן נותן לכסיל כבוד" - אמר רבי אלכסנדראי: כל מי שהוא חולק כבוד לכסיל - כזורק אבן למרקוליס.