The death penalty does not act as a deterrent because most capital offenses are committed in a state of rage where future consequences are not on a person's mind.  The death penalty will never be a deterrent.