"I think all judges should be elected by the people anyway because this is supposed to be a democracy."
Actually, it's not.
It's a 'representative Republic'.
Although you may 'democratically' elect representatives to Congress, the President is selected by the total number 'Electoral Votes' he receives.
If this was not the case, then the people in the most populated cities and states would essentially control who becomes President.
Federal Judges are selected by the President and voted upon by the Senate.
Citizens voting on who becomes a Federal Judge would not be a wise idea, and why the founders setup our Constitution the way it is, to avoid corruption.
And here in Pennsylvania, we elect our judges and raise such to a supreme level of absurdity. Candidates are not allowed to discuss their judicial views, but voters are supposed to decide who is the best choice? The judgeships often become political rewards.