None of the laws has apparently stopped one demented killer from achieving their goal.
A moral society will be a good place to start. If everyone, including the poor and rich are morally well grounded, the country can make machinegun ownership legal and crime will be extremely rare (i.e Swizterland). On the other hand if a society has no moral core, the availability of knives and baseball bats is sufficient to fuel crime and murder (i.e inner cities of the US).