If you get a chance, watch the 1948 movie, State of the Union, with Spencer Tracy and Katherine Hepburn. Tracy is seeking the Republican nomination for President to run against Harry Truman.
As the movie develops, Tracy, a man of principle, learns that his principles won’t get him elected because he must get the support of the various factions of the party, that is labor, banking, agriculture and so on.
Slowly, you see Tracy, as painful as it is, sell out to every faction involved to get their support.
Soon, as you will discover, there is nothing left of Tracy’s values, talents and good intentions.
In the end he tells all the various lobbyists to go to hell because he can’t be President without principles.
Since it is a movie, Tracy stands up to all the factions, is loudly cheered by the voters and you assume that in the end the voters will prevail.
Note that the head of the party says that the voters don’t count because they are too lazy to vote and those who do vote can be bought or persuaded.
Sounds like every election I have ever witnessed.