A person’s environment affects the way they live and think because it strongly affects what influences they are exposed to and what opportunities they have.
For example, if a person grows up with parents who do not have much formal education, they may not come to think that education is important. They may be influenced by their parents to think that it is normal to drop out of school and go to work. This will affect their attitude towards school and may make them look unintelligent and unmotivated. If they do end up dropping out of school, they will typically have much less in the way of opportunities than someone raised in an educated family.