Death penalty and appeal cost taxpayers too, they are more expensive than life imprisonment.
Costs of the Death Penalty | Death Penalty Information Center
You need look at education and job - lack of education and job = more criminals.
The recidivism rate is nearly 70% - it means 30% inmates got out of jail don't recommit crime.