The misery of Pakistan can be put down to a few factors...
1. A non implementation of its ideological roots i.e Islam... Pakistan like the rest of the screwed up countries such as India implements partial capitalism... We as a nation are confused about what we need to do with ourselves...
2. A corrupt elite represented by leaders who are basically dacoits including the civil administration/government/feudal landlords/brainless Generals in the military...
3. Slave mentality...
Is Islam against Capitalism???
I personally think,the problem with Pakistan is not due to non implementation of Islam,rather its due to over implementation,something that took its full shape under the regime of one dictator of Pakistan,Zia ul Haq.Another dictator of Pakistan Pervez Musharraf,understood the problem and tried to cleanse the country from the radicalism which has deep roots in Pakistan.
Following one religion is one thing,having a radical and thereby extremist outlook is completely different and destructive in the long run.Musharraf tried to control the many madrashas in Pakistan,which though meant to be schools,were actually the primary building block of radicals.Many of these people taught in the madrashas went on to become Jihadi/terrorists in their life.While these young people may be quite satisfied with what they are doing,I don't really see how they are contributing to the economy or society of their own country.
I am of the opinion,that religion can serve a human being,but religion is never meant to drive a country.People can take give examples of Saudi Arabia,but then not every country is sitting over a mountain of gold.Pakistan can follow the model of Turkey.
Since independence,Pakistan basically had 2 problems,in relevance to the topic.
1.Pakistan never actually tried to stand on its own.Pakistan had let others affect its policies a bit too much.Pakistan entered into military alliance with USA in return of technology,capital,investment,trade etc. and became completely dependent on them.US Airforce has been using Pakistani airbases since the 1960s.That can be a good indicator.
Another country,upon which Pakistan is grossly dependent,starting from milit6ary supply to trade is China.Relations are indeed good,and Pakistan should do more in this case,without letting China take advantage of Pakistan the way USA is doing.
2.Second problem,is the India Phobia.Its difficult to explain and much more difficult to address.It is a common idea in the Pakistani public that India stands for everything that is against Pakistan,and India wants to disintegrate Pakistan.Most of the foreign policies,educational policies,social stigma,is actually based on this India phobia.This phobia gave many Pakistani people a perfect opportunity to vent out their anger,to really accuse somebody,to use as a kind of binding force among like minded people.But then this very phobia has also been rampantly used by the politicians of the country to gain immense support and popularity.It has been misused by the politicians to change the focus from more pressing social issues like infrastructure,employment etc to something that really boils your blood.
In order to have peace and development,there has to be order first,scope for independent and rational thinking and a society devoid of religious bias and social stigma.