In accordance with the standard hierarchy of needs, culture flows down from compensation. When everyone's material needs and desires are well satisfied, they interact genuinely and naturally. When people feel like good compensation is difficult to achieve, they put more effort into zero-sum internal politics, maintaining appearances, and so forth. You see this in upper management all the time; execs are friendly and…
Years ago, these studies were going around saying that people are happier when they make more money up to about $70k, at which point more money doesn't make you happier anymore. I'm sure that has to be adjusted for inflation etc by now, but very few devs make less money than they need to live comfortably by most people's standards.