My two cents, please correct me if I am wrong.
Pakistan wasted too much time on irrelevant things, national interest is the way to go. Other countries use religion to harm Pakistan national interest.
Even Bangladesh leverage both US market and China market better. While Pakistan should do the same.
With so many man power, labor intensive industry is the way forward. China did the same in past 30 years. Now a large portion of labor intensive jobs flowing out from China every year, most of them flow into Vietnam which is China's rival and rest goes into ASEAN, Bangladesh.
Why is that? Self-discipline, organizational, overtime for little compensation, no labor union, commercial friendly policy, and corruption.
Yes, corruption is good for economy, it provide motivation if the leader knew how to guide the direction of the corruption. Without corruption, the bureaucrats won't do anything in most developing countries.
Pakistan should mend ties with Iran, and fence Afghanistan border. Invest hugely on infrastructure, such as power grid, power stations, water, irrigation, telecommunication, etc. It will create jobs and improve connectivity, efficiency.
There are tens of millions of young Pakistan males, those are resource. If Pakistan missed the bus of out flow of China industry in next 10 years, probably miss forever.