Another reason as to why federal judges serve lifetime tenure is because the consistence of being in one job for several years saves them from a lot of political pressure and political favor with the changing politicians and times.
The enlightenment had made them realize the inequality in the government. The American revolution had inspired other countries to rebel against the injustice in the government and law.