That's certainly a problem with some people. It's important to choose wisely what to share with different people in your life.
I wonder if the saying that you're the average of your five closest friends, including in terms of money, doesn't mean that becoming friends with wealthy people will make you wealthier but rather that as your wealth grows, less well off friends feel less comfortable around you and drift away while other people who are at a similar financial level to your new circumstances become closer.