Because it protected their basic liberties, but most importantly, it guaranteed the constitution would be approved.
Hamilton meant that judges should be free from polotics so that they can interpret the law and cases in their own perspective, without judgement and/or pressure from anyone else.