I look at it as using the ego to work for you rather than against you.
I do a lot of diet/exercise for the sake of looking good which is an ego thing but all things considered it ends up being productive to health as well.
Except when I get out of shape it makes it that much more annoying. But that serves as motivation to get back in shape. So I don't fight the egos urges in that area.