Should the primary goal be to punish offenders for crimes or rehabilitating them?

I personally believe that for any serious crime like murder or rape, the criminal should be put to death. I don't believe it's fair that a murderer or rapist has money put into their rehabilitation and potentially integrating them back into society, while the victim's loved ones have lost them forever or have been psychologically damaged. I know not all cases are black and white, but I do think that times were more simple when people were just hung for despicable actions like murder and rape.
Should the primary goal be to punish offenders for crimes or rehabilitating them?
Should the primary goal be to punish offenders for crimes or rehabilitating them?
Post Opinion