The American system of elected judges is bonkers to me. Here in Canada even your basic judge has to be a lawyer in good standing for a decade before being reviewed by a panel of seniors judges and recommended to the position. Their job isn’t to play “tough on crime” to the crowd and do everything possible to obtain convictions so that people will like them. Until they retire up here their whole job is to uphold and defend the presumption of innocence so a defendant gets the full benefit of the law and an innocent person is not unjustly punished. Their job is to put into practice the ethics and design of the law as written to afford the humane treatment to other humans by the state and defer the ultimate judgement of guilt or innocence to a jury of peers.
Elections in a system like law create natural conflicts of interest and once someone is convicted once on shitty practice by a judge with no prior qualifications getting that person out of the system is like trying to swim against a riptide. The American system seems primed to create victims of the state, not to uphold justice.