You're one level removed from cause and effect. Having wealthier friends won't make you wealthier by itself - but having more ambitious/hardworking friends will encourage you to be more ambitious and hardworking yourself. Similarly hanging out with athletes won't suddenly make you fit - but it will provide the support you need to pursue your own fitness goals.