So, freedom going in, never mind how young dumb and full of...beans but, the moment you enter into it, you now owe society and must seek it's approval to exit.
Well, we decided 18 is no longer young and dumb, but of sufficient age to be responsible for one's actions. But, yes, freedom into entering into contracts like that.
Now, we discussed ad nauseam the act of who should register for marriage, but we never discussed recently why the state got involved in the first place. The small petty perks were put in because of the stability the institution of marriage used to allow for in a society. Like charitable organizations or property mortgage interest tax exemptions, the lower tax rates for some married people was intended to positively influence people to get married, providing more of that stability.
So, yes, I would say whether it is a contract you have with a roofing company to do work for money, or with your neighbors in an HOA, or whatever, if you want to believe the contract means something and you can count on contracts once they're written, then you have to make it difficult to get out of them.