If you weren't blinded by your desire to find a gotcha, "attack when we were attacked" would have connoted to you what went on in Afghanistan in the 20 years after we justifiably occupied Afghanistan. I mentioned 9/11 because the Afghan leaders were incredibly stupid to defy us, though they did succeed in giving Osama time to decamp to our "ally," Pakistan. You tried to place all the military fatalities in the country during Trump's tenure on his head. How do you think those fatalities occurred? Did they all come about from attacks on US servicemen by noble freedom fighters? No, US forces were frequently being attacked by Taliban insurgents fighting a guerilla war, and that's what I was talking about. How many US servicemen died in that country during Obama's EIGHT years? But you don't care about that, only that soldiers died on Trump's watch.
I was talking, and am still talking, about the clumsiness and stupidity of Dopey Joes withdrawal, not about the principle of withdrawal once it was increasingly obvious that the Afghan people wanted the "strong" leadership of the Taliban. Obviously, since Trump was in favor of the withdrawal-- something Obama didn't address in his eight years-- I concur with his view that there was no point in remaining in the country. But you imperil soldiers' lives if you hurry to leave; it does, and did, embolden insurgents to attack our forces since they don't think there will be consequences.
Your belated (and weak) acknowledgement of Obama's failings in this respect (which I hadn't read while making the above response) don't change the fact that you're crediting Biden with following through on a plan Trump made while in office. Biden deserves no credit for the basic idea, but he does deserve censure for the sloppy execution, which many Mad Libs here have sought to blame on Trump.