Answer: The fact is that we do not destroy the ego but its use for our own sake.
Desires for our own sake are called selfish desires. Desires for the sake of the Creator are altruistic desires. We must shift our intentions from for our sake to for the sake of the Creator.
So do not worry, nothing disappears or is destroyed. Understand that the ego is specially created from above to be a minus against a plus. Therefore, when minus and plus work together, we can receive the energy between them, some kind of productive effort.
From KabTV’s “Fundamentals of Kabbalah,” 2/16/20