We’re all a product of our environment. Depending on where you grow up, the nature and nurture aspects of our personalities are heavily influenced by that same environment.
The environment isn’t limited to a physical location. Your environment is composed of the combination of the (five) people you spend the most time with.
You can train your attitude. Work towards a different mindset, day in, day out. However, without occasionally moving in the circles you aspire to be in, it’s tough to reside in said circles permanently.
The environment you operate in determines your attitude.