That is what leadership is all about: staking your ground ahead of where opinion is and convincing people not simply following the popular opinion of the moment.
I think public service is a calling and you do it as long as the things that brought you into the office can continue getting you up in the morning and as long as there's still work to get done.