Bhagavad-gītā As It Is · Text 16.22
Lust, anger, greed and scriptural guidance
एतैर्विमुक्त: कौन्तेय तमोद्वारैस्त्रिभिर्नर: ।
आचरत्यात्मन: श्रेयस्ततो याति परां गतिम् ॥ २२ ॥
etair vimuktaḥ kaunteya
tamo-dvārais tribhir naraḥ
ācaraty ātmanaḥ śreyas
tato yāti parāṁ gatim
The man who has escaped these three gates of hell, O son of Kuntī, performs acts conducive to self-realization and thus gradually attains the supreme destination.
Read Śrīla Prabhupāda's purport on Vedabase.io