This is the crux I'm getting at. You don't get freedom without a bill of rights and a nation(a group with a shared Grand Narrative) willing to defend those rights no matter what.
Yes, a social contract like a constitution or ten commandments etc sets the norms which are easy for people to agree as permissible behavior. It establishes the fundamental culture.