The US backed radical Islamic jihadists to overthrow the secular government running Afghanistan. The US president invited them to the White House, then armed and funded them https://upload.wikimedia.org/wikipedia/commons/b/b8/Reagan_s... .
Trying to split hairs saying there was infighting and not all of them joined the Taliban does not change that.
Osama bin Laden and al-Qaeda also came out of all that.
Now I'll go back to reading the mainstream media's encomiums to the Azov batallion in the Ukraine.