Editor's note:Julian Zelizer is a professor of history and public affairs at Princeton University. He is the author of "Jimmy Carter" and of the new book "Governing America."

(CNN) -- Avoiding the fiscal cliff can be a moment of truth for Congress as an institution. The ability of Congress to reach a deal on its own, rather than relying on tax hikes and spending cuts by default, would be a powerful push back against the loud chorus of critics who for almost a decade have been decrying dysfunction on Capitol Hill.

According to a recent Gallup poll, Americans consider legislators to be some of the least trusted professionals in the nation. Car salespeople ranked only slightly lower.

This is not the first time that Americans have felt this way. During the early 1960s, Congress was widely derided as a broken branch of government. A bipartisan alliance of Southern Democrats and Republicans used the committee process to bottle up legislation for years. "The sapless branch," Sen. Joseph Clark called Congress in an outburst of frustration with his colleagues. But this period of gridlock was followed by a huge burst of legislation that resulted in tax cuts, voting rights, civil rights, Medicare and Medicaid, education policy, a War on Poverty and much more.

Though it would be far short of a New Deal or Great Society, a budget deal would allow Congress to prove that the critics are off. Most important, Congress could show that it can make unpopular decisions with little or no political payoff.

The thing about this budget deal is that nobody would be happy with the outcome. If Democrats win, they walk away by raising some people's taxes. If Republicans win, they will cut deep into the spending of programs that are enormously popular throughout large parts of the electorate. The willingness of representatives and senators to take unpopular action is the best sign that the institution can fix national problems and not simply reward constituents.

A budget deal could also show that bipartisanship is not impossible in our current era of polarization. The inability to achieve bipartisan legislation has been one of the biggest failings of Congress. When there has been bipartisan agreement in recent years on domestic policy, it has usually meant that two or three people come on board from the other side of the aisle.

The era when Republican Senate Minority Leader Everett Dirksen could bring over 20 or more colleagues for legislation proposed by a Democratic president, back in the 1960s, seems long gone.

The virtue of bipartisan deals is that they create bills that are more durable over time and have the imprint of a broader portion of the American public. Bipartisan votes on legislation demonstrate that support for a bill is not red or blue, but red, white and blue.