Capital punishment is vengeance rather than retribution and, as such, is a morally dubious concept
The anticipatory suffering of the criminal, who may be kept on death row for many years, makes the punishment more severe than just depriving the criminal of life
That's certainly true in the USA, but delay is not an inherent feature of capital punishment; some countries execute people within days of sentencing them to death