The Cow - 2:54
"Moses said to his people: "O My people, you have wronged your nafs (personality, essence, soul) by worshipping/serving the calf. Repent to your Creator and kill your nafs (ego). This is better for you in the sight of your Creator."He will forgive you. Surely He is the Accepter of repentance, the Most Merciful."
Believers overcome their ego:
Those Who Pull Out/79:40
As for those who respect the station of their Lord and restrain themselves from evil desires
The Heights/7:201
Whenever a dark suggestion from the devil reaches the righteous, they immediately remember. So they immediately see.
The Manifestation of Losses/64:16
Honor Allah as much as you are able. Listen, obey and help for your own benefit. Those who are protected from the selfishness and stinginess of their nafs are the successful.