One of the more disingenuous arguments against gun regulation is that laws don’t prevent crime, therefore they are useless.
As Jim Wright points out, the purpose of law is not necessarily to prevent crime, but to give victims and society explicit recourse against transgressors.
One form this argument also takes it the idea that we “cannot legislate morality”. This is true, but MLK, Jr. also says: