Occasionally, I hear people make arguments in favor of constitutional rights claims by arguing that the Constitution was set up to protect liberty. And it most certainly was—in part.
But I think that it's a mistake to treat this as a goal above all others, as the Preamble to the Constitution itself reflects (and of course the specific provisions within the text of the Constitution and the Amendments—which are part of the Constitution—do as well):
We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.