I think they more mean the removal of corruption, not necessarily literally beheadings.
At least I hope if they’re going to call the death penalty bad in principle. IMO, it’s good in principle, but completely untennable in practice in such an insanely flawed system working with just as flawed laws. I’m not sure a defensible system could exist. Not with modern humans.
The irony of being too bad to properly purge the bad…