Why might it not be useful?
Research suggests a death penalty does not reduce the murder rate. In the UK, when a temporary abolition was trialled in 1965, it did not affect the murder rate showing the death penalty was not a deterrence.
In the USA, where death penalties exist, there is no less murder rates than in states where the death penalty does not exist. This suggests that this not an effective method for dealing with offending.