In Taanis (22a), a sage was standing in the marketplace and had giluy Eliyahu, a vision of Eliyahu Hanavi. He utilized the encounter to ask a question: “Who is a ben Olam Haba?” [my addition: will reach the next world] The market was full of people, but Eliyahu pointed to two men who were badchanim, clowns. After Eliyahu departed, the sage approached the clowns and asked them for details of their behavior. He wanted to discover what they did to merit Olam Haba. These clowns answered that when they see people depressed, they entertain them and cheer them up. Now, that’s not a simple statement. There is no question that these men did not do this once or twice. It was a shitah, a system they had built into their lifestyle where they kept their eye open for people to whom they could offer their services for free. If they saw someone among the crowd who was not enthusiastic, who didn’t respond, they singled him out to give him a special private session later. Even though they were tired from dancing and juggling all day, they made it their business after hours to visit that person and to perform for him to cheer him up.
Astor, Yaakov. Rav Avigdor Miller on Olam Haba (p. 179). The Judaica Press, Inc.. Kindle Edition.