Doctor Syntax: Judges are appointed on their basis of knowledge of the law and competence
Really? I thought that all federal judges were appointed by the sitting president. There were Senate hearings to confirm the appointments of Amy Coney Barrett, Brett Kavanaugh etc., who were political appointees. Note that during Barak Obama's second term there was a vacant seat on the US Supreme Court, but the Republican senate majority leader refused to allow him to be considered:
"On March 16, 2016, President Barack Obama nominated Merrick Garland for Associate Justice of the Supreme Court of the United States to succeed Antonin Scalia, who had died one month earlier. At the time of his nomination, Garland was the chief judge of the United States Court of Appeals for the District of Columbia Circuit.
This vacancy arose during Obama's final year as president. Hours after Scalia's death was announced, Senate Majority Leader Mitch McConnell said he would consider any appointment by the sitting president to be null and void. He said the next Supreme Court justice should be chosen by the next president—to be elected later that year. Senate Democrats criticized the move as being unprecedented. They argued that there was sufficient time to vote on a nominee before the election."
https://en.wikipedia.org/wiki/Merrick_Garland_Supreme_Court_nomination#:~:text=On%20March%2016%2C%202016%2C%20President,had%20died%20one%20month%20earlier.
Of course I am not claiming that any judges appointed are deficient in legal knowledge and competence, just that there is a political side to consider as well.