Name of this psychology theory?

Awhile ago I was introduced to the idea that a human establishes their core and inner being in the first few years of their life, (5 or so), and then the rest of their life their core does not change. Does anybody know the name of this theory? I don't fully understand it and would like to learn of it more.
4 answers 4