I think that’s typically considered the difference between a “politican” and a “statesman” (or statesperson)
Politicians care about winning elections and staying in power, whereas statesmen actually give a damn about the future over getting eternally re-elected on empty promises.
There’s a Johnny Bravo “Do the monkey with me!” joke in here somewhere but I’m not funny enough to make it.