It's really not cheaper in practice, the legal hurdles for the death penalty are more expensive to overcome than just keeping someone locked up for life.
It might get cheaper if you're executing in volume, like thousands of people, but then we'd be looking at a whole other sort of problems (like "how did we turn into China?")
This is all very easy to say, but have you ever had to defend yourself against an adult who actually meant to harm you?