The reason capital punishment doesn’t work comes down to one salient point: capital criminals don’t have the ability to comprehend the consequences of their actions. This is either because their crimes are committed in such haste that they have no time to consider the consequences, or they are emotionally or intellectually unable to comprehend them.
As a rule, people who favor capital punishment want revenge.