Zero-sum game

Meaning: A situation in which one person’s gain is equal to another person’s loss.
Example: They viewed the negotiations as a zero-sum game in which neither side wanted to compromise.