Like what?
Think Kargil, hosting NATO, IMF debt traps, and splitting from Bangladesh.
The military is somewhat pragmatic but not totally. First round of US sanctions on paid-for military equipment should've been a clear warning not to trust USA for weapons. Yet they proceeded with more American weapons and now worry of US involvement with India.
Afghans defied the global superpower, not Pakistan. Pakistan hosted and supplied NATO for war. NATO invaded Afghanistan directly from Pakistani soil << never forget this. A war in which Pakistan lost tens of thousands of civilians and soldiers, many of them to NATO raids, destabilizing the whole region, for a paltry price of $3 billion / year that US gave as "aid". Not exactly pragmatic or strategic.
How many elites run to China when they are in trouble? None. +90% run to UK and US (often to regroup and return with new instructions). Same with the middle class. Even if not in trouble, the general population is heavily inclined towards the farangi and very little towards China, despite knowing full well how abusive the West has been and how helpful China has been.