Ronald Reagan actually said...
Federal judges are not appointed to decide cases according to the latest opinion polls; they are appointed to decide cases impartially, according to law.
Context
Address to the Nation on the Supreme Court Nomination of Robert H. Bork
10/13/1987