I used to believe that until recently. Now my theory is, they pass laws like red flag BS so they can get a warrant to search your spaces. Even if the red flag hearing allows you to have your guns back, the state will use anything the Cops found in their search as a means to separate you from your guns.
RED FLAG REPORT ->
Cops get court order ->
Cops show up to take your guns ->
While searching for any "additional" guns or ammo, or other weapons that could threaten their safety, the Cops find a banned, unregistered mag ->
Court dismisses Red Flag complaint as unfounded ->
State prosecutes you for the contraband ->
You're now a felon ->
Your guns are gone for good.
Our gun laws are a mine field of felonies just waiting for you to step on one so the state can make everyone "safer!" 
Red flag laws itself are unconstitutional, as it directly violates the 4th amendment. You can have your property seized unlawfully based on lies--perhaps you have a neighbor or some damn Karen who hates your ass; they can petition to have your weapons taken under false pretenses, all without you knowing about it. Well, you'll know about it when only after the PD shows up to take your shit.
It as damn mystery why none of our leaders caught this glaring flaw in the law. I don't really think they even know the Constitution. Maybe they do, but then that would be worse.
Ladies and gentleman, we are having our democracy chipped away bit by bit. Soon it will be an autocracy. Why? Well, only autocrats work against Blackstone's Ratio.
Blackstone's Ratio states that
it's better for 10 guilty to escape justice than for 1 innocent to suffer unjustly. The direct opposite, which is probably already the mentality of the modern times are,
it's better for 10 innocent to suffer unjustly than 1 guilty to escape justice. Don't fucking leave. That's why this state's gone to shit. People leave and take their talents elsewhere. That leaves us with not much. Not meaning to offend here, but our best don't stay here.
This is home. Let's both defend it and cultivate it.