A similar thing happened to the assemblage in the Naimiṣāraṇya Forest, headed by the sage Śaunaka. They were inquisitive and were always asking Sūta Gosvāmī about Kṛṣṇa. Thus they achieved the association of a pure devotee and became pure devotees themselves. So that is the way of elevating oneself. In whatever condition one may be, if he is fortunate enough to associate with pure devotees, then very quickly he is elevated to the second-class or first-class platform.
These four types of devotees have been described in the Seventh Chapter of Bhagavad-gītā, and they have all been accepted as pious. Without becoming pious, no one can come to devotional service. It is explained in Bhagavad-gītā that only one who has continually executed pious activities and whose sinful reactions in life have completely stopped can take to Kṛṣṇa consciousness. Others cannot.