If only leaders of Pakistan had kept their "national" interests in mind while being the so called "allies" ....... take the history of Pakistan for the last 50 years and you will see how "personal" interests of these leaders have led to being so called "allies" of US.
Take a lesson in history ......
Hmmm... What did we get from our alliances? After we were robbed of what was ours militarily, we turned to the US, which provided the bulk of Pakistans defense needs. This allowed us to not be over run by an overly aggresive midget across our eastern border.
Our alliance with China has seen the development of countless developmnet programs including the likes of Gawadar sea port.
Thats the point of alliances, they provide support in times of need.
Perhaps you need to go back and re read your history. And this time I suggest you read real history, not the propaganda being spewed by your illustrious schools.