For personal security, guns beat knives quite a bit.
In California you must keep a handgun unloaded and locked in a secure case, preferably in the trunk, separate from the ammunition. I mention the “preferably” with respect to trunk because it gets a little iffy when it comes to PU/SUVs.