B.G 2.71
vihāya kāmān yaḥ sarvān pumāṁścarati nispr̥haḥ। nirmamō nirahaṅkāraḥ sa śāntimadhigacchati ॥71॥
He who gives up all material desires and moves without selfish motive, whose every experience is without attachment, without ego, and without the concept of mine, such a person certainly attains the liberation.
Gīta Tātparya 2.71
Absence of forbidden desires enables one to give up all material desires. Having understood everything is under the control of the lord Hari, he relinquishes the concept of mine in all places.
niṣiddhaspr̥hābhāvamātrēṇa sarvaviṣayān vihāya।
He gives up all material desires just by the absence of forbidden desires.
"asvarūpē svarūpatvamatirēva hyahaṅkr̥tiḥ। tyājyā sarvatra mamatā jñātvā sarvaṁ harērvaśē॥"
iti ca ॥71॥
The root of ego is believing that one has a specific form or essence, even though it's not true. Having understood everything is under the control of the lord Hari, he relinquishes attachment and the concept of mine in all places.
-states the testimonial.