You may show me an isolated incident of a text book going to Afghanistan as I have no idea what you're talking about, but it is simply incorrect to suggest that the U.S. had any direct involvement in radicalizing Afghanistan during the soviet war.
The U.S. flew almost completely blind in that ordeal. We poured money into Afghanistan through Pakistan and never asked how they spent it. Pakistan was the decision makers and they saw fit to back the Mujahideen rather than more secular groups fighting the soviets because they thought they could control the Pashto tribesmen. Pakistan is the party that invited Wahabi teachers to madrasas for refugee Afghan and Pashto children. Sure, the U.S. was complicit, but Pakistan and Saudi Arabia are responsible for the lion's share of that mess.
The story of radicalization in Afghanistan is jut a blurb in "The Great Game" that has roots long before the Unites States was any kind of player in international affairs.