Deterrence doesn't work, if it did, there would be no drug use (or insert any other crime really, you should see our incarceration statistics) in the US. Why do people still think this?
The biggest problem with deterrence is it relies on people not thinking they won't get caught. Everyone thinks they won't get caught.