Ego gratification is not bad: it's good and even necessary to grow.
But we can't always (by ourselves) distinguish between gratification (read: elevating growth) and egoism (destructive growth).
So we need some 'illumination', which is, in another term: Religion.