Ego is a liability to success and is quite detrimental if left unchecked. It's important to tame your ego and stay humble, especially when you're learning from more successful people.
Always make sure your ego doesn't get in the way. Don't correct people when they're wrong, and always admit your wrongdoings.