East of the Durand Line inside Pakistan, anything that barely works — from the poorly administered government to the crumbling infrastructures for health, education, agriculture, railways, road system, etc. — has to do with the colonial legacy. How valid this view is can be assessed by observing the state of affairs west of the Durand Line inside Afghanistan.
Hence, blaming western colonialism will not do. On the contrary, it can be said India’s relative success in the contemporary world in contrast to the Middle East has much to do with the duration of Britain’s presence in the subcontinent.
Note that Afghanistan and Iraq are both on the list too…