USSR built Kabul Polytechnic University and taught teachers that later worked there. It also was building industry where graduates would work.
What did USA did for Afghanistan besides bombing it into stone age and leaving tons of weapons and deceived people behind?