Death penalty is wrong when you can afford it being wrong.
Here in Brazil most of the population want death penalty back, simply because we are expending enormous amounts of money in dangerous criminals (murderers, rapists, thieves that murder, drug lords...) and it is not fixing anything, crime continue rising, and the more people we lock up, the more people show up.
Worse, some people even after 30 years in prison (our maximum prison sentence), as soon they get released, they commit crimes again.
To not mention escapees... Every time a mass escape happen, there is a surging crime wage.
So people here outright think criminals must be killed, the problem is that without death penalty, people then kill instead of criminals, suspects, voiding the "innocent until guilty".
In that perspective what is better, death penalty, but you have a trial first, reducing (but obviously not eliminating) miscarriage of justice, or a angry population that might impale the head of a soccer judge on a stake?
Yes, that happened here!
This week, during a amateur soccer game, one particularly violent player got kicked out of the game, unhappy he decided to attack the judge. The judge after getting kicked a couple of times and fighting the guy, pulled a knife and stabbed in one single stab the guy chest (seemly the heart, since the guy died with that single stab).
The team of the violent player was extremely unhappy with that outcome, tied the judge to a tree, stoned him, and then they removed his limbs (I forgot the term in english)and impaled his head in a stake.
And the most absurd this might look, the population is HAPPY this happened, and want to prevent the police to catch the perpetrators, because the population WANTS more stuff like this to happen, because the commonly spelled belief here that: "A good bandit, is a dead bandit."