A death sentence just punishes the relatives of that person. The person killed, isn’t really punished, since you kinda don’t feel after you died and no punishment without feeling I suppose.
Then, they should get mental treatment paid by convicted person, in my opinion. I bet that knowing that the convicted person got killed for it, doesn’t make the pain go away. There are other strategies needed to make a relatively normal live possible for the suffering persons.