The reason.
It’s very obvious that we catch the vibe of our surroundings and we tend to become who we choose to hang out with.
The environment in which you live affects you. If you hang out with people who complain about every situations, have a negative perspective towards opportunities and are not motivated, you tend to catch the ill-effects like a disease. This is cos of the negetive energy in them ,that kind of drain all the hopes on better possibilities.
On the other hand, if you are among happy, self-motivated people, and who have a positive approach towards life, you tend to get their nature. We start thinking about different possibilities to improve a situation or on how to use opportunities
The reason being we as humans get affected by our environment and try to seek motivation and knowledge continuously. So in whatever environment you are in, it will affect you in a positive or negative way.
So choose closely who you hang out with.