Why do presidents prefer federal judges who tend to agree with their views?

2 answers

They want judges who will rule the way they think is right.
Why do presidents prefer Federal judges who tend to agree with their views?