The Taliban harbored al-Qaeda which used Afghanistan as its base of operations when it coordinate the 9/11 and 7/7 terrorist attacks. So yes.
9/11 was funded and perpetrated by Saudi Arabia, a US ally that has bragged about the fact on twitter. we didn’t go after them, in fact we’ve continued to supply them with money and arms, especially as they conduct a genocide against Yemen.
2 points