Let’s acknowledge an uncomfortable truth about workplaces: The people who thrive in them are those who know how to both collaborate and compete with their colleagues. They clearly understand how work relationships affect their interests and the organization’s, carefully consider the risks and trade-offs, and dispassionately decide how much to invest in each coworker and when to walk away.

A version of this article appeared in the March–April 2022 issue of Harvard Business Review.