If the jury decides the death penalty then it works as a deterrence Of course government cannot do death penalty sorry I wasn’t clear