Capital punishments are meted out on crimes such as murder, insurrection, drug trafficking etc, and this depends on what the constitution of a country delimit.
Corruption is one standing menace that has eaten deep into the wheels of progress, good life, development in our economy and nations today, while capital punishments are mapped out for crimes that look worse than corruption superficially, it (capital punishment)is not implemented against officials who embezzle funds that could create more employments(ending/reducing unemployment), public figures who swindle funds meant to equip the military against external aggression, funds means to develop hospitals to save lives, funds meant to build new roads and infrastructures meant to make life easier for the common man.
Using Third World countries as base point, most of all this countries are rich enough to make life better for their citizens, but those at the helm of affairs make everything theirs.
If you ask me corruption is a bad as murder, drug trafficking and whatever crime attracts capital punishments, it indirectly leads to all that.
If death penalty is mapped out as punishment for corruption, it'll to a large extent act as a deterrent and reduce its presence in our midst, public officials and those who handle public funds would think twice before trying to embezzle public funds, it may not eliminate it(which is impossible)but it'll reduce it significantly.
The western countries are the most corrupted countries in the world. 3rd world countries are corrupted too but not to the extend of the Western world... Lobbyism is institutionalized corruption. So if you had to put in jail corrupted people in the West, you would have to throw all the elite, politicians, press, and banks. There would be no one left to run the country.