There is no balancing. Being fair and independent is paramount, and will always be more important than being elected or re-elected.
This is an important question right now because many citizens question the independence of our judiciary, including the United States Supreme Court. Courts cannot be partisan, should not follow party lines, and must review each case on the merits.
One of the greatest honors I have had on the bench is being selected to serve as Special Judge, by agreement of the parties, on cases that are politically charged. I appreciate the confidence they have in my ability to be fair and correctly apply the law.