A few dozen soldiers? Ok general...first..it wasn't the Taliban...ISIS-K killed our troops.This goes all the way back to the invasion of Afghanistan by Bush - which you supported and I opposed. So lets keep that front and center while we debate the withdrawal. Our only real obligation was to the troops who were there at the end, and the idea that we couldn't pull them out without losing anyone is fairly hard to believe. A few dozen special forces operatives would have been a perfectly adequate extraction team.
Biden created the free for all of trying to get hundreds of thousands of "refugees" out which gave the Taliban the opportunity to take out the troops who were overseeing that. That's not on Trump, no matter how much you want it to be.
If 2,500 troops weren't enough to secure a perimeter around Karzai airport, how in hell would a few dozen?