The people around you influence the way you act, by surrounding yourself with positive people, you will be more positive… etc…
If you surround yourself by smart people it rubs off because it motivates you to study more and you interact with more intellectual conversations… etc