LOL, that's why I called you the i word above. You are absolutely clueless (just as majority of your fellow countrymen).
You actually think we haven't gotten any results for ourselves due to our military interventions, alliances, and geopolitical maneuvering?
Here's a little insight from Pakistani perspective (Take 3 minutes to actually read if you want to get enlightened).
Benefits for Pakistan's Afghan intervention against Soviet Union
Background
When Soviet invaded Afghanistan, nobody in the world thought that Soviets could "fail" in the region thanks to their immense military strength, suitable situation in Afghanistan as influential government/Civil factions were Pro-communist in Afghanistan, and Soviet's complete control over Central Asia (hence they did not have to fight a prolonged war with stretch logistics like U.S in Vietnam. They were literally fighting in their backyard). Soviet Invasion was literally heavens for india but for Pakistan, It was a
disaster. We were Sandwiched between hostile global Superpower (USSR) military fsupporting anti-Pakistan government to our West (Afghanistan) and our arch enemy to the East (india). Plus, our geography is such that we did not have any depth as Pakistan is a latitudinal country and our West-to-East "width" is very little (especially compared to India). So absolutely worst case scenrio (likes of which modern indian military has
never faced).
Any other nation in such situation would have given up, but Pakistan isn't any other nation. We launched our effort against Godzilla itself (Soviets). We started to train insurgents and sent our officers to lead the fight against Soviet forces invading our Western flank. In the beginning, when Pakistani military and diplomatic officials asked for U.S backing--the U.S administration responded "Afghanistan is a closed chapter for us" (Reagen's exact words) since they did not believe in the viability of defeating USSR in its own backyard (border regions). This has been very well documented in the works of Pakistani diplomats and retired military officers from the era (and not disputed by US at all). It was only
AFTER the initial successes of Pakistani-led covert war against the Soviet Union that U.S saw "viability" of financially investing in Pakistani (covert) war effort against the Soviet invasion of Afghanistan.
So Pakistan and its intelligence were the prime geopolitical party in launching a counter covert war against the Soviet invasion. We were later joined by our allies (Arab states and U.S) due to alignment of their ideological and national interests with ours.
Defeat of hostile superpower
Our war efforts resulted in Soviet defeat in Afghanistan (which contributed significantly to it's dismemberment). In this way, we defeated the hostile superpower. Soviets were always aligned with our enemy (india) and they showed their extreme enmity in 71' war by openly supporting india in every way against us. We not only took our revenge, but also defang our enemy's most powerful supporter internationally.
Domination of our Western flank by installing pro-Pakistan government in Afghanistan
Furthermore, we completely destroyed anti-Pakistan Afghan factions in the aftermath of war. Our proxies took over the hostile country and absolutely decimate any Afghan capacity to rise against us in any meaningful manner. In this geopolitical masterstroke, we completely secured our Western flank forever. No Afghan government (even if pro-India) can ever challenge us ever again from Western front. Hence, we successfully protected Pakistan's survival from any serious harm origination from Afghanistan. We gained
unprecedented influence in Afghanistan which we still hold today. Afghanistan can never rise up against us, even if government of Afghanistan is "anti-Pakistan" in nature. We control decisive factors in Afghanistan locally (Pushtoon population factions, Afghan Talibans). All thanks to our efforts and geopolitical investments in the region.
Completion of our nuclear program
A lot of people (even in Pakistan) forget that Afghan war decade allowed us the critical time to become a full fledged nuclear weapons power. By fighting against Soviets in Afghanistan successfully, and bringing the United States in side of our support (for their own greater interests)--we developed a window whereby the West couldn't outright stop us from developing our nuclear weapons even though it knew that we were becoming a nuclear weapons state (from just being nuclear energy producing state before). That is why literally right after USSR left Afghanistan, we were sanctioned by the U.S (But by that time, we had already built our nuclear weapons). Our strategy of fighting USSR was absolutely critical for us to complete our nuclear weapons program without Western intervention (which was an absolute possibility, as events have shown us in the aftermath of Afghan war).
Our role as an Islamic state for wider global Islamic civilization
As we all know, Pakistan was created as an Islamic state---and post 1960's identified itself as part of the global Islamic Civilization rather than being "indian by culture"...So our Afghan war effort gave us an opportunity to stand for our own stated values and state vision.
As discussed above, any other nation facing the odds we faced would have 'surrendered' to the mighty Soviet Union at the time, entered the 'Soviet bloc', and would have enjoyed the benefits in terms of economic development. Afghanistan got run over by soviets? who cares? Each nation protect its own interests and bending down for your own survival isn't something out of this world, right? But no, Pakistan refused to bend down against the red plague that had openly declared war on Islam, destroyed thousands of Mosques, and officially banned Islam from lands it engulfed.
Pakistan's involvement in Afghan war brought millions of refugees, Islamic extremism, and drug wars to Pakistani cities and we haven't recovered since. Consequentially, we lost thousands of our citizens in last three decades (a fact indians love to bring up).
But here's another way of looking at it.
Pakistan, being an Islamic State, took the initiative and confronted the Soviet might in the mountainous rigid lands of Afghanistan (later U.S and Arabs joined in with their help, funding, weapons etc). The war proved a critical nail in Soviet's coffin, especially its rule across Central Asia---and eventually communism fell...Guess what happen as a result?
After fall of Soviet...
Islam further gained 4,000,000 sq km territory and whole Central Asia also became decisively "Muslim-Majority" (Mashallah to that!). Tens of millions of Muslims were free from communist persecution. Thousands of mosques were opened inside Russian mainland, let alone in wider Central Asia. Global Islamic Civilisation extended even further globally and established itself in all corners of planet Earth. So much so that today, Islamic Civilisation has established itself in the heartlands of West..with tens of millions Islamic people establishing thousands of thriving communities all across West with their own unique culture, religion, and identity.
In this regard, Pakistan played its role of being an "Islamic state" under which vision it was created. It overlooked it's short-term risks for the more permanent interest of the wider, global Islamic World and Islamic peoples. Pakistan took the damage for sure...we brought devastation in some parts of our own land (FATA region) but
the "gain" was way larger, way more global and permanent in nature. What we did and what followed was of historical value. Yeah, the 'benefits' weren't for Pakistanis only..but then again, Pakistan sees itself not as a secular, tribal state but a part of the wider, global civilization linked-together by Islam's civilizational principles and cultural underpinnings common to Islamic peoples worldwide.
So Pakistan, being an ideological state as our founding documents stated, played completely rational role which served our interests geopolitically
as well as ideologically. Pakistan played an important role for something far bigger than itself. It's funny, Muslims of Pakistan have already played a greater role in the construction of history than Hindus ever have in their entire existence going back thousands of years
. What have india achieved outside its territory in its entire existence? What have your "investments" given you? Zilch. Nothing! India, being irrelevant as it is, never even played any major role in history own its own, let alone having any fruits of indian efforts.
Now you have a bit of an idea what our geopolitical "investments" achieved for us, Muslim Pakistanis.