Bar Hei Hei was asking Hillel questions until Eliyahu came to him.
(Bar Hei Hei was a convert at the time of oppression, and he had to hide the fact that he was a convert. He called himself this non-Jewish sounding name. It means though son of Sarah and Avraham, - Meam Loez. We see that he rose to top learning).
Some say Eliyahu came to Rabbi Eliezer instead.
Elyahu then asked, what does it mean, "I refined you but not with silver, I chose you by purifying with poverty"? - that the Holy One Blessed be He looked at every good thing to give to Jews and found nothing better than poverty.
Said Shmuel, and some say Rav Yosef, that is why people say, "Poverty is becoming to a Jew as a scarlet ribbon to a white horse".
(Chagigah, 9b)