Yeah, but you changed the thought experiment from neighbourhood to "everyone in the world". This obviously would have a much, much bigger impact on my relative wealth.
And even then, the economy is not a zero-sum game. It is possible to become wealthier without making others poorer. If I get healthcare, it doesn't mean that someone else needs to be denied healthcare.
> And even then, the economy is not a zero-sum game
I agree to an extent. If say GDP increases it usually means the economy does better which means you will get better services (healthcare, housing, personal safety for you and your children etc) so you have an interest in others doing well.
However you also have an interest in not doing worse than most since as I said the amount of resources you can get is relative to others (resources is anything from housing to healthcare to your ability to find a mate).
I think this principal hasn't changed much since us being cavemen and neither have feelings of envy.
And again, there is not much evolutionary since in having no feelings of envy at all since it's a big motivator for people. Many times you feel envy or anxiety and you do something about it to improve your lot. Its there for a reason (sure, often it goes out of hand which is unfortunate). Consider yourself fortunate for not feeling much envy (or at all)!
And even then, the economy is not a zero-sum game. It is possible to become wealthier without making others poorer. If I get healthcare, it doesn't mean that someone else needs to be denied healthcare.