The pact was for explicitly for defensive purposes, yet Pakistan launched a war of conquest, its leaders citing impatience and pride.
It was a blunder on part of the Pakistani leadership to turn away from the Chinese invitation in 1962 and to later expect U.S to support it against India in 1965, which the U.S was supporting just 3 years ago against China in Sino-India war in 1962. The U.S had its own ambitions against USSR and communism, Pakistan was just meant to play a part in those ambitions, our leadership failed to see this or was unwilling to, and Pakistan paid the price.
Americans "own bloody history" does not render a moral judgment invalid when it rests upon its own merits.
Assuming right to make such moral judgments, specially done with such holier that thou attitude implies a certain amount of moral superiority on part of the judge, which in case of your country is questionable to say the least, so all this shows is arrogance on part of the judge.