एतैर्विमुक्तः कौन्तेय तमोद्वारैस्त्रिभिर्नरः।
आचरत्यात्मनः श्रेयस्ततो याति परां गतिम्॥22॥
etair vimuktaḥ kaunteya tamodvārais tribhir naraḥ ācaraty ātmanaḥ śreyas tato yāti parāṃ gatim
O son of Kunti, a person freed from these three gates of darkness practises what is truly good for him. By that he reaches the highest goal.
After the warning of the last verse, here is a word of hope. As a person gets free of the grip of desire, anger and greed, his energy starts to go into the good of himself and others. According to the Gita, this is the road that leads to the highest goal. Giving up wrong is half the work, and the other half is doing good.
etaih: from these; vimuktah: freed; kaunteya: O son of Kunti; tamodvaraih: gates of darkness; tribhih: three; narah: a person; acharati: practises; atmanah: his own; shreyah: true good; tatah: by that; yati: reaches; param: the highest; gatim: goal

