Enforcement of laws against actual criminals is a proper purpose of government. Issuing literally tens of thousands of regulations to force innocent people to behave the way bureaucrats and politicians think they should is not. The enforcement of valid laws protects rights; regulation violates them.