There was a big difference between arming the Afghan mujahedeen [which is what we did, originally with Dostum and Afghanistan’s defense chief Ahmed Massoud] and the Arab mujahedeen in Afghanistan [whom we did not arm, but whom various Islamic nations armed.]
Bin Laden made a point of not accepting US aid. Clinton later abandoned Massoud to go instead with the “strong horse” Gulbuddin Hekmatyar. In spite of this Massoud remained true blue until al Qaeda assassinated him just days before 9/11, while Hekmatyar later turned and joined with al Qaeda.
We ran it through Pakistan and the ISI, who then reared the Taliban once the Soviets left
Actually, Hekmatyar didn't "turn", he was always anti-American and anti-Western. There were videos at the time of him addressing his troops wherein he told them that "we will use the Americans' weapons against our enemies here, then will will use them against the Americans themselves". He was merely practicing Taqiyah (the Islamic holy sanctioned practice of lying to infidels) when he claimed to be our ally.