The translation and bracketed clarifications are mine.
Rabbi Broka from Bei Hozai would frequent the marketplace of Bei Lefet. Elijah [the prophet] would visit him. He [Broka] said to him [Elijah], "Is there anyone in this marketplace with a share in the world to come?" "No."
After a while, two brothers came. He [Elijah] said to him [Broka], "These also have shares in world to come." He [Broka] approached them. He said to them, "What do you do?" They said, "We are entertainers. We cheer up the downcast." Another version has it: "When we see two people quarreling, we make an effort [through humor - Rashi] to make peace between them."
(Babylonian Talmud, Taanit 22a)