And who funded both the guy they were harboring and the country during the Soviet-Afghanistan war?
"I wouldn't call Pakistan an allied country of the United States"
"Pakistan joined the "War on Terror" as a U.S. ally. Having failed to convince the Taliban to hand over bin Laden and other members of Al Qaeda, Pakistan provided the U.S. a number of military airports and bases for its attack on Afghanistan, along with other logistical support."
https://en.wikipedia.org/wiki/Pakistan%E2%80%93United_States...
Before you yell about wikipedia as a source, consider that this is a well-known fact.