I agree Pak needs to get its house in order, brotherly countries and international institutions can't keep bailing them out.
Pak needs to focus on an industry and try and become the best in it so it can compete globally and generate lots of revenue.
On the defensive agreements, im all for supporting defense of brotherly countries and providing defence especially against long term threats like the zionists. But im very wary when it comes to getting involved in offensive operations.
That is the crux of the matter and what prevents the KSA-Pakistan relationship from truly transcending into another level and other fields. Otherwise the impression by both parties, in particular the KSA part, is of losing out in the relationship and not getting much in return. KSA does not have any need for dealing with backward terrorist cults like the Houthis, Iraqi PMF terrorist cultists etc. or even Iranian firecrackers (mostly) in the form of drones and missiles. We can do that ourselves as we have been doing for 10 + years by now.
The pact is mostly aimed at Zionist (most likely) transgressions and an all-out war scenario, which in the case of KSA is quite unlikely by all accounts but of course not impossible.
At the same time there is little KSA or any other Muslim ally of Pakistan can do in case of a full-scale Pakistan-India war as unlikely as that is given that both countries are nuclear-armed states.
So forget the military pact/defense pact, what should be the priority here iMO is to help Pakistan fulfill its potential and help growth the KSA-Pakistan relationship into a truly multifaceted relationship.
I know that it is unfair to compare Pakistan with the US (foremost economy of the world, foremost technology and military power as well) but look at how multi-faceted the KSA-US relationship is. It spans the military sector (very important) but most importantly it spans economics, technology, AI, renewables, agriculture, foreign direct investments, presence of 1000's of US firms (many establishing their regional headquarters in KSA) and almost anything that you can think about.
Same with the Chinese and other partners.
KSA is ready not only to take the relationship into another level altogether but also to invest in Pakistan massively if there is a return of investment.
KSA has a much closer relationship with the Pakistani army, government (s) and political elites than with India next door. Average Saudi Arabians also have much more in common and much greater sympathy with the average Pakistani than the average Indian.
In other words if Pakistan gets its act together it has all the advantage to take the relationship into the next level compared to India and others in the region.
This does not only relate to KSA but all Arab states and Muslim ones in the region.
I am only saying this because it is sad to see Pakistan in this state while KSA's relationship with countries that we share much less in common with is booming and developing and changing in its nature but the relationship with Pakistan still resolves around remittances, Pakistani workforce, military relationship, Saudi Arabian billion dollar loans and investments here and there.
Do what is needed (reform the system, fight corruption, make yourself and your industries competitive) and foreign investment will occur automatically as every country and firm out there is looking to make a profit and Pakistan is largely an untapped market with big potential and cheap labor and costs. Many such countries out there that are wasting their potential - many Arab countries included.
I am a sincere well-wisher of Pakistan and a strong and prosperous Pakistan would benefit KSA and the Arab world (at least Arabia) greatly due to geographic proximity, people to people relations, historical, religious, cultural, linguistic etc. ties. The whole region benefits from this. Same with prosperous and stable neighborhood in general regardless of country which would increase mutual trade, trust-building measures and people to people relations.
Don't need to look that far. Look at the GCC or Europe post-WW2. Even India has done a good job (relatively speaking) to become an attractive investment destination. More reason for Pakistan to follow suit.