The mujahideen that the US supplied weapons to in Afghanistan during the Soviet occupation are not the same as the Taliban. The mujahideen also existed prior to the US supplying weapons to them.
The Taliban were a strict Islamist student group, the foundation of which consisted largely of refugee students in/from Pakistan, not from soldiers that fought the Soviets.
The Soviets had already been pushed out of Afghanistan years prior to the creation of the Taliban by Mohammad Omar. The US involvement in Afghanistan had dropped to practically nothing by that time. The Taliban easily stepped into a power vacuum post Soviet occupation, which is what they're doing again.
Here you go:
"Mullah Mohammad Omar in September 1994 in his hometown of Kandahar with 50 students founded the group. Omar had since 1992 been studying in the Sang-i-Hisar madrassa in Maiwand (northern Kandahar Province). He was unhappy that Islamic law had not been installed in Afghanistan after the ousting of communist rule, and now with his group pledged to rid Afghanistan of warlords and criminals. Within months, 15,000 students, often Afghan refugees, from religious schools or madrasas – one source calls them Jamiat Ulema-e-Islam-run madrasas – in Pakistan joined the group. "
Here you go, from USA government
But you clearly have a worldview that will not be changed, no matter what the situation may be.