No, a good judge rules based on law and precedent. A bad judge rules on personal opinion and politics. Right now, there are a number of judges, particularly at the district court level that are doing the latter, usually appointed by Biden or Obama who get overturned repeatedly. The fact that such judges have since Trump was reelected set a record for the number of national injunctions caused the Supreme Court to all but totally strip them of the power to make such rulings, as but one example.
That should tell you something about their political bias.