That problem doesn't really have a solution, though. Power inherently is a corrupting influence, and everyone is fallible. Focusing on building safeguards into how we choose whom to give power to, rather than limiting the exercise of power itself, will always produce dysfunctional systems.
Power isn't inherently corrupting. It just is.
People can be corruptable, fallible, greedy and unprepared to wield power over others - especially the people that seek out power.
The solution is to build better people from the ground up (culture and education) AND create institutional protections that function during both the absence and presence of substantial political power. I'd argue that, in the USA, we've done neither and appear surprised when it keeps turning out poorly for us.