There is no actual evidence of the death penalty being a deterrent.
It is irrefutable that the perpetrator is permanently deterred from repeating his act.
Not a bad thing.
It's a tremendous deterrent to future murders. The recidivism rate for executed offenders is ,,,,,,,zero.