Electing judges doesn’t really make sense to me. Are people supposed to dig up every court case they’ve ruled on? (Or for prospective new judges, every case they’ve represented in as a lawyer?)

(I’m in USA Btw; Does any other country even “elect” judges? Such a weird thing IMO.)