If laws against something eliminate it then there can be no murders, no “mass shootings”, etc. because those things are against the law today.
Outlawing guns will end gun crime the same way outlawing drugs ended drug crime.