One of the factors Alfred Adler believed to be important in shaping personality is

Birth order in the family

Unconditional positive regard

Difficulty with toilet training

The collective unconscious