mahat-sevāṁ dvāram āhur vimuktes
tamo-dvāraṁ yoṣitāṁ saṅgi-saṅgam
mahāntas te sama-cittāḥ praśāntā
vimanyavaḥ suhṛdaḥ sādhavo ye
mahat-sevām - the service of the pure devotee spiritual master; dvāram - door; āhuḥ - they said; vimukteḥ - of liberation; tamaḥ-dvāram - the door to darkness; yoṣitām - of women and money; saṅgi-saṅgam - association with those who enjoy the association; mahāntaḥ - great souls; te - they; sama-cittāḥ - equally disposed to all; praśāntāḥ - very peaceful; vimanyavaḥ - without anger; suhṛdaḥ - well-wishers of everyone; sādhavaḥ - who are endowed with all good qualities, or who do not look for faults in others; ye - those who.
This verse is from Śrīmad-Bhāgavatam (5.5.2).