Kevin Drum blogs against this meme as it relates to guns. I'd expand the point
By definition, anything that happens wasn't stopped by the laws on the books. The stock market setting a new record wasn't stopped by laws. The 16-year old in Santa Clara wasn't stopped by the laws. Trump wasn't stopped by the laws.
Do we conclude there's problems with our laws? No, of course not. Most things the laws aren't intended to stop. In many cases the laws can stop 90 percent of cases but not the last 10. Needless to say, we never notice the 90 percent.
(There are also laws poorly written so they don't stop some cases and laws poorly enforced or implemented. )
For any specific case, you need to figure out into which category it falls.