> Some of those laws are meant to protect citizens.
Laws are made for the just common good. They may not be ideal, but that's what they exist for.
> Other laws are to protect property,
Again, for the sake of the common good. The ability to hold private property is a prerequisite for other goods we need to flourish.
> protect government interests
What is a government interest? You seem to be alienating government and construing it as some foreign body with competing interests. No, government exists for the sake of the common good of the society it governs. Once governments begin to turn into cliques that serve, e.g., some oligarchy (quite common), esp. at the expense of the common good, we call this a tyranny.
> and enforce codes of behavior.
For the sake of the common good.
https://en.wikipedia.org/wiki/Warren_v._District_of_Columbia
An interesting turn of phrase, but not reality. Cops are there to enforce laws. Some of those laws are meant to protect citizens. Other laws are to protect property, protect government interests, and enforce codes of behavior. This is particularly true when dealing with mental health issues. Protection of anyone quickly becomes secondary to physically stopping the person who is acting strangely.