Laws don’t stop anything.
Note full jails and prisons as evidence of fact.
Laws are merely a dispensation to the authorities to allow them to arrest you if you commit the crime. Laws cannot prevent any crimes.