Talk about it so they can understand each other? You don't just drop the one-liner and hope they change their ways accordingly. Hell, they don't need to change at all. Just talking about it could cause OP to realize his friends don't care about that sort of thing and reduce or rid of their feeling of shame.
Some people can be okay not talking about how they feel; however, OP is clearly not currently okay, so doing something is the only way something will change. If OP cannot change their own feelings theirself, OP can either get different friends or try to talk to their current friends. And if you are willing to get different friends, you may as well try to talk to your current ones first.
> If you’re commenting on this thread and offering advice, I encourage you add the context of whether you are one of those who have money or not.
And since OP asked, I'm too young to have accumulated wealth to be jealous of, but I feel comfortable with my current job and am optimistic of my future.