Cognitively, the child grows from egocentrism in early childhood to more mature thinking.
However, I'm not convinced of such casuistry because I'm not convinced that self-regard and egocentrism are exactly the same thing.
Acute adolescent egocentrism sometimes leads teenagers to believe that others are constantly watching and evaluating them.