So what exactly did we do to Afghanistan prior to 9/11?
Or Pearl Harbor prior to Dec 7th, 1941?
Saved them from the Russians.
Japan attacked Pearl Harbor for the trade embargo (Oil and Metal) we placed on them for their atrocities in China. They believed by attacking us we would fold like a cheap tent.
They were wrong...
Well to start with we armed the mujahideen
Arabic mujahidun (those engaged in jihad). Now they are killing our young people.
It was then that OBL and his ilk figured out we were totally clueless as to their REAL intentions.
Nothing. Except giving them the weapons to defeat the invading Soviets. Kind of the most stark definition of "ingrate" in history.