To produce, you need investment, you can't attract investors unless you root out corruption, how do you plan on rooting out corruption if you're not going to prosecute the corrupt?
Corruption is never the main problem, its mostly a symptom, you cannot cure Cancer by cutting off the limb. You have to invest in Culture, culture that focus on producing not hate and divide. Pakistan major problem in last 3/4 decades is picking up religious wars and getting high horse of religion. By making society and culture more religious we are moving further way from prosperity and development aspects of society.
You have to understand Corruption in Pakistan is not happening at NS/Zardari level alone, everybody does it from lowest to highest level, religious people are even more corrupt, that suggest religion is not provide enough morals to deter people from corruption, but that's also a wrong way to look at the problem. Corruption itself has less to do with moral or ethics, but has more to do with lack of resources and production in society. Religious and militarization culture does not translate into to better production, hence when you have less produced, there will be more fighting and corruption.
1500 years ago military was one of the better way to produce, you can go on war and capture what others have produced in relatively short period and build upon it. Now, even US (the lone super power) is finding it hard to produce via war, Iraq does not yield any significance monetary benefit, expense of rebuilding and baby sitting Iraq and geo-political complexity has created more problem than benefits. Pakistan is finding it hard to control Afghanistan just by military and gorilla(Taliban) warfare means, they did more harm than any benefit in last 20 years, all that investment has really did not benefited us, side effect is rotten culture that is high on religion and low on production and civic values...
What save US back in 80s, when Russia collapse was software industry that created first PC and then Internet, that made possible for US to offset losses in war and military spending...Have there been no software revolution by Silicon Valley, US would have bankrupted as well like Russia. US can survive with high military, because they have diverse investment portfolio, liberals are strong and vibrant population, who keep on producing and are forward looking... Even today, right wing love war games and aggressive agenda, but not the left. Right is depended heavily upon left, because they are the ones who produce at asymmetrical proportion, that tax base is the reason US military exist...