One of the most contagious things in the world is mindset.
Spend too much time with someone who only sees things as permanently negative, scarce, or self-serving, and that kind of reasoning will start to infect your way of thinking.
On the other hand, if you can spend more time with, or, better yet, be the person who uplifts others, you can spread generosity, love, and change.