I think it does. Some people are different than others but when the punishment is of the severity of the matter, it would guarantee they wont do anything bad again. Take criminals for instance, they murder someone intently and then are told they could be given the death penalty. Chances are the murderer, it being his first time and hopefully his last might feel some sort of remorse because of this, and instead will be given 25 to life in prison. Its obvious the criminal resents this and would rather die than spend most of his life in prison. But lets say he gets 25 years, does his time and is released. Surely by then, his ways will have changed as he might of had a horrible experience in prison that may or may not have scarred him into NEVER wanting to commit a crime again.