I don't really like glocks, got my eyes on a Sig P239 Enhanced Elite 9mm, but also kinda like the Berettas for not being a burgerland company, any other brands I should be looking at, whats the least chuddiest company, I looked at the HK site and my god, they have American flags everywhere and MAGA sales.
ETA: Im in 'Commiefornia' so any gun suggestions should be able to be sold here.
Most of the "threat" of having it in the house is from intentional self-harm. The other part, that being accidents, can be mitigated almost entirely by teaching you and your family about gun safety. If the kids are too young, put it in a closet out of sight and reach. Don't rack the firearm if you want to be extra safe.
Assuming you aren't suicidal and follow basic safety, a gun is less dangerous than a kitchen knife. I can put a gun away in a condition that would make it very hard for a child to fire it even if they understood how. A knife's edge can't be turned off and is easily accessible.