Judges need to have long terms and need to be term limited so they can’t be re-elected or re-appointed. Look at Wisconsin’s Supreme Court, it almost ruled in favor of overturning the state’s results, reason being that they have elections to worry about and need to side with Trump s for their support.
The terms need to be long so you avoid the revolving door effect, a SCOTUS judge should be ready to retire when their term is over. You don’t want a SCOTUS justice gutting the EPA’s ability to combat climate change because he’s trying to lock up a job with Exxon Mobile when he’s up for “evaluation” next year.