I agree wholeheartedly. Legislative action is a bad idea generally.
But morality has always been codified and legislated. Natural rights are God's morals. Laws to protect life, liberty and property are moral in nature as they deal with right and wrong.
Ultimately, true liberty always depends on honor, virtue, and moral uprightness in order to be lasting.