Ego does have a higher purpose. Once refined and aligned with Source, it becomes that which directs the intention of the One Will. Without refinement, the ego runs us and attempts to control our world by self-will. Our wants and lower frequency desires keep us scattered and unfocused. Our attention is on the external world and so is constantly shifting from one thing to another.