Overlooked point but this is very very important. It's hard to understate the importance of good examples and role models while growing up. We are animals which learn essentially by imitation while growing up. We internalise what we see both consciously and subconsciously. It has a massive impact. And in places where good role models are scarce this self-perpetuates.
Not discounting the material/economic conditions, obviously.