The solution I think would be to somehow get people to lead who have no desire to do so. Politics attracts sociopaths and psychopaths due to the power involved. Competent and compassionate people have no time and patience for the power jockeying while sociopaths live for it. Thus you end up with a government by sociopaths for themselves. But how to make politics unappealing to sociopaths? Beats me.