Bhagavad Gita, Chapter 16, Verse 22

एतैर्विमुक्तः कौन्तेय तमोद्वारैस्त्रिभिर्नरः । आचरत्यात्मनः श्रेयस्ततो याति परां गतिम्

etairvimuktaḥ kaunteya tamodvāraistribhirnaraḥ | ācaratyātmanaḥ śreyastato yāti parāṃ gatim

Translation

A man who is released from these, the three gates to darkness, O son of Kuntī, does good to the self, and thereby reaches the Supreme Goal.

— Alladi Mahadeva Sastri

Word meanings

etaiḥ
by these
vimuktaḥ
liberated
kaunteya
O Kaunteya
tamodvāraiḥ
of darkness, by gates
tribhiḥ
(by) three
naraḥ
the man
ācarati
acts
ātmanaḥ
own
tataḥ
thence
yāti
goes
param
highest
gatim
path

Śaṅkarācārya's commentary

Gates to darkness: leading to hell (naraka) which is full of pain and delusion. He who is released from lust, wrath and greed will act for the good of the self, because of the absence of that by which obstructed he has not hitherto so acted. By so doing he even attains mokṣa.