Yes agree. However I don't think the West has anymore appetite to get involved much in that region after the Afghanistan debacle. We are too preoccupied today with many things to ever focus again in your region to be honest. For one there is the Russian challenge and war in Ukraine and the Coming China's rise which will be our focus or the foreseeeble future. Pakistan lost the opportunity to work with us when they had the chance and the West was willing to do the necessary back then. We just dont have that will anymore today . The U.S/West spent hundreds of billions of dollars and material aid/equipments trying to stabilise Afghanistan and make it more governable/moderate and set up education for the country (women included) and establish a ground foundation on which the country can at least try to join the modern world and get rid of its extremists/jihadists and islamists radicals. Pakistan should have fully supported NATO forces and join the West in crushing those Talibans and other Islamic extremists who were openly using Pakistan as their base/logistics centre/refuge from where they could carry on their fight in Afghanistan against Western forces and make a new Afghan government ungovernable. Instead Pakistans establishment was playing a double game, NATO forces called on Pakistan countless times to cooperate and join forces to eliminate this threat, but Pakistan refuted them time and again by instead supporting these same radicals/militants who are now causing havoc in Pakistan. As I said, Pakistan's establishment might have had its geopolitical reasons for doing so, but remains to be seen if that was the right thing to do for the country long term wise.
What Pakistan failed to realised is that an unstable neighbour or a neighbour ruled by radical elements with an outdated ideology like the Talibans can never be a good thing for Pakistan. A country needs a peaceful prosperous environment to thrive. You think if China was surrounded by backward radical ideological ruled unstable countries like Afghanistan which would have had an impact on the country itself then there is no way they could have grown and developed the way they did this past 5 decades. Investors/Western and Asian companies would have never set up their companies/productions or invested their billions there. They are lucky their neighbours facing their most populous sides are advanced forward looking countries like Taiwan, S.Korea, Japan, ASEAN countries etc or even Vietnam which is still stable, peaceful and ruled by a strong central government oriented on economic development. Reason they can all work together trade and move forward. Paksitan's establishment seems to have forgotten that.
A country needs a stable environment fiest and foremost to even have a chance of development. Pakistan already failed at that , since you are basically surrounded on 2 sides by instability, you have a hot war border with India sulking off the little state public capital you have to maintain military infrastructure on that front to fight India and an unstable Afghanistan ruled by a backward islamist group like the Taliban, where islamists radical militants can find refuge and thrive. There is no way the country can ever move forward. I have not even mentioned your own internal problems which are too many to even talk about on here. I think at this rate in a decade or two from now, if the country continues the way it has been this past years, Pakistan will be left far behind by everyone and be the last country in South Asia ON EVERY DEVELOPMENT METRICS ONE CAN THINK OF. It will then seem Bangladesh who got it independence just over 4 decades ago and was way behind made a good choice to get their self rule.