When do you drop your ego? When it is painful. When you have had enough pain then you say enough is enough, and then you simply drop it.
Either through wisdom or through pain you get over the smallness. If you have wisdom and a broader vision then no need to go through pain. But if there is lack of wisdom then pain and suffering will take care of it and it will take you out of it.