How does one avoid one's ego on the path to enlightenment?
One cannot avoid one’s ego on the path to enlightenment, it’s impossible. The path to enlightenment lies through one’s ego. The dissolution of ego is the process of seeing it, in its entirety, and accepting it, for all its ugliness and all its beauty, all its love and all its hatred, all its misery and all its anguish. There are no shortcuts.
For as long as you’re trying to avoid your ego, you are not on the path to enlightenment, you’re on the path away from it.