Understanding politics that way is common and understandable. It's also an unfortunate cultural construction of the term, because this understanding is deeply incorrect.
Politics is what happens when people disagree about what should be done, or how it should be done. That's it. That's what politics is.
There are principled and corrupt reasons for disagreement. There are forthright and deceptive/manipulative means of engaging disagreement. All of that is politics.
When someone is advocating for a better PTO policy either because they personally would like something more advantageous for themselves or because they think it'll boost morale and productivity, that's politics.
When someone manages their office relationships to increase their chances or being hired into a higher management position either because they personally would like to advance their career or because they think they can help the business run more effectively, that's politics.
When someone attempts to spoil management on tech stack X and talk up tech stack Y, that's politics whether it's because they know both well and are sure which will suit the business & problem domain better, or because their personal expertise is more with Y than X and it'll increase their value to the organization without further investment.
The problem with assuming "politics" refers to inherently underhanded activity is that it shirks the work of engaging disagreement productively and instead pathologizes disagreement in one way or another -- usually by either pathologizing an opposing position or class of people.
Good faith disagreements are not politics, they're negotiation.
Politics is when one person/group tries to sabotage/undermine another person/group out of self-interest, even though it harms the project and reduces value.
Their self-interest becomes their top goal.
My personal take is that there are two extremes of culture. One is dedicated to engineering and management excellence. Everyone contributes. Even if there's vigorous disagreement the engine runs smoothly and Things Get Done.
The other is a snake pit of back stabbing, drama, competitive ambition, and narcissism which spreads from the c-suite down. Things still get done, sometimes, but they're poor quality - or at least much poorer than they could be. If they make it to market they'll be overhyped and oversold. (Contempt for customers and employees alike is a good tell-tale.)
No org is 100% one or the other, but those are the competing tendencies, and - of course - they're very different to work in.
Negotiation is a form of politics, not a separate thing from politics. Good faith negotiation is a principled and often relatively productive form of politics, but it remains politics nonetheless.
> out of self-interest
It's important to note that politics is as frequently driven by values as interests. This is true both in the office and in nation-states. And given that differing values often produce differing visions of excellence, a commitment to excellence doesn't spare people from the efforts/rigors of politics.
A lot of decent management books indicate politics are natural and your job as manager is to manage them. Pretending they don't exist or can be done away with is unrealistic and counter productive.
Politics in this sense is kinda negative but not really - acknowledgment that different people and groups may reasonably or unreasonably have different priorities, goals, perspectives, preferences, methodologies. I've spent most of my life under the Delusion of "reasonable people will agree if we just sit down and talk", but I no longer think that's the case (not the least because otherwise eventually you have to label everybody but yourself "unreasonable" :).
As techies often we want full, comprehensive, correct unmutable requirements, full understanding for all issues encountered, and flexibility of schedule to reach out architectural and technical goals and standards, and everything else is "office politics".
Difference exists.
Politics is trying to reconcile different perspectives priorities methods and goals. Hidden motives and deception are not necessary part of it.
Politics is what happens when people disagree about what should be done, or how it should be done. That's it. That's what politics is.
There are principled and corrupt reasons for disagreement. There are forthright and deceptive/manipulative means of engaging disagreement. All of that is politics.
When someone is advocating for a better PTO policy either because they personally would like something more advantageous for themselves or because they think it'll boost morale and productivity, that's politics.
When someone manages their office relationships to increase their chances or being hired into a higher management position either because they personally would like to advance their career or because they think they can help the business run more effectively, that's politics.
When someone attempts to spoil management on tech stack X and talk up tech stack Y, that's politics whether it's because they know both well and are sure which will suit the business & problem domain better, or because their personal expertise is more with Y than X and it'll increase their value to the organization without further investment.
The problem with assuming "politics" refers to inherently underhanded activity is that it shirks the work of engaging disagreement productively and instead pathologizes disagreement in one way or another -- usually by either pathologizing an opposing position or class of people.