I don't know if you are religious or not, but death penalty is actually G-dly according Islam and Christianety. G-d give you the life and G-d also end your life, therefore, the action can be called; G-dly.
G-d makes the political system and organize the human beeings into the death penalty ritual. Isn't that pretty G-dly?