Also note that, as another reply mentioned, this has little to do with actual monetary values.
If you didn’t get a raise, that sucks. If your friends got laid off... well, then keeping your salary is great. If no one got laid off but you were able to buy a new x and none of your friends were, regardless of income changes, you’re still going to feel better. It’s “keeping up with the Joneses”.