Answer by taking a quote from the following article:

John Marshall (September 24, 1755 - July 6, 1835) was an American politician and the fourth Chief Justice of the United States (1801-1835). His court opinions helped lay the basis for United States constitutional law and many say he made the Supreme Court of the United States a coequal branch of government along with the legislative and executive branches. Previously, Marshall had been a leader of the Federalist Party in Virginia and served in the United States House of Representatives from 1799 to 1800. He was Secretary of State under President John Adams from 1800 to 1801 and, at the age of 45, became the last of the chief justices to be born in Colonial America.

McCulloch v. Maryland (1819) was one of several decisions during the 1810s and 1820s involving the balance of power between the federal government and the states where Marshall affirmed federal supremacy. He established in McCulloch that states could not tax federal institutions, and upheld congressional authority to create the Second Bank of the United States, even though the authority to do this was not expressly stated in the Constitution.  While Marshall's opinion in McCulloch was consistent with Marbury v. Madison, it cut the other way by affirming the constitutionality of a federal statute while preventing states from passing laws that violate federal law. The opinion includes the famous statement, "We must never forget that it is a constitution we are expounding." Marshall laid down the basic theory of implied powers under a written Constitution; intended, as he said "to endure for ages to come, and, consequently, to be adapted to the various crises of human affairs ...." Marshall envisaged a federal government which, although governed by timeless principles, possessed the powers "on which the welfare of a nation essentially depends." It would be free in its choice of means, and open to change and growth.  The Court held that the bank was authorized by the clause of the Constitution that states that Congress can implement its powers by making laws that are "necessary and proper", which Marshall said does not refer to one single way that Congress is allowed to act, but rather refers to various possible acts that implement all constitutionally established powers. Marshall famously provided the following time-honored interpretation of this clause in the Constitution:  Let the end be legitimate, let it be within the scope of the constitution, and all means which are appropriate, which are plainly adapted to that end, which are not prohibited, but consist with the letter and spirit of the constitution, are constitutional.  According to The New York Times, "Marshall did not intend his words as license for Congress to do whatever it wishes." Instead, Marshall and the Court deemed the bank necessary and proper because it furthered various legitimate ends that are listed in the Constitution, such as regulating interstate commerce.

What was Marshall's view on this?
He established in McCulloch that states could not tax federal institutions,