According to Hamilton, what should the court do when a law contradicts the constitution?

In the Federalist Papers, specifically Federalist No. 78, Alexander Hamilton argues that when a law contradicts the Constitution, the court must uphold the Constitution as the supreme law of the land. He asserts that the judiciary has the responsibility to declare any laws that are inconsistent with the Constitution as void and invalid. This principle is known as judicial review, and it ensures that the government remains within the bounds of the Constitution and protects the rights of the people.