Ego makes you judge others and think about them in an unkind way. It makes you force others to do what you want. In this way you forget you are a student and that you are here to learn,
Instead of learning, if you start giving advice, telling people what they should do and trying to change them, you are forgetting an important lesson in life, You can only change yourself not others.