Psychologists believe that by the age of seven, most of our patterns of behaviour, our beliefs and our habits are formed. These beliefs are moulded by the significant people in our life, especially our mother and father. When we encounter obstacles in life, it usually means our habits of behaviour are being challenged.
https://www.linkedin.com/pulse/age-7-most-our-beliefs-habits-formed-carol-fox/