Two of them occurred in the marketplace of Bei Lefet, a place frequented by Rabbi Beroka Hoza’a, who often met Eliyahu HaNavi there. On one occasion, Rabbi Beroka Hoza’a asked Eliyahu whether anyone who was in the market at that time was a ben Olam HaBa – someone who was assured a place in the World-to-Come. Eliyahu pointed out a person who was not dressed in a Jewish manner (he was not wearing tzitzit and was wearing black shoes – which was not the Jewish custom). Upon questioning him, Rabbi Beroka Hoza’a discovered that he worked for the non-Jewish government as a jail keeper, where he carefully kept men and women separated and protected Jewish women who were put into prison. Furthermore, he kept his Jewish identity secret so that he could influence the government on issues having to do with the Jewish community and warn the Jews of any impending decrees that would affect them.
Eliyahu then pointed out two men who were assured a place in the World-to-Come. Rabbi Beroka Hoza’a approached them and asked what their profession was. They told him that they were professional jesters, who entertained people who appeared to be sad or depressed, or who worked to make peace between people who had been angry at one another.
Although the well-known Mishna in Sanhedrin (see 10:1) teaches that every Jewish person has a share in the World-to-Come, the intention there is that after a person is purged of his sins, having received the punishment that is due to him, he will merit Olam HaBa. Our Gemara is discussing people whose behaviors assure them of being a ben Olam HaBa – someone whose actions in this world guarantee him immediate entrance into the world-to-come. The commentaries here discuss how the activities of these people, which benefited the public at large, ensured that they would not succumb to sin in the future.