Sort:  

sure but that can be said about any negative experience, many of which we wouldn't even consider to be suitable punishment
and deterrence isn't the only thing prevent us from committing wrongdoings

If you want your government to operate that way, you should move to North Korea.