Go read a book (preferably- Bear Trap by Brig Trimzi - the ISI officer who was the architect of Afghan Jihad).... USA didn't supply jack (till the end when they sent stingers)... CIA procured soviet type weapons from former Soviet Allies,Israel (captured arab weapons),Egyptian supplied (crappy ammo),some from China (US & China weren't the best if buddies even than - it was Pak that tried to bring them closer by arranging us presidents trip to China),even Turjey supplied shitty weapons (that were rejected by ISI- but forced down their throat by Zia coz of our ties with Turkey)... Even your country supplied obsolete ishapore made 303 rifles n ammo (which made the CIA guy comment that indian would sell their mothers fir money)....
So enlighten how it was us ir china that kicked soviets and not the guys overseeing the entire operations in Afghanistan? From training,distribution of weapons,money,motivation down yo selecting targets,sending military advisors and even arranging mules for transportation of weapons ..
You would have been right had you claimed that Pak had nothing to do with Chechnya (apart from maybe some Pak nationals fighting there etc) but Afghanistan ?