I may as well bite, as I am curious. How do you think Trump could have done any better? From my perspective, Afghanistan is a poisoned chalice for all western leaders who inherited the occupation. Sort of this festering band-aid which inevitably had to come off, but was going to be extremely painful politically.
And as evidenced by the remarkable collapse of the ANA, I don't think any other candidate could have changed things. It's been 20 years of propping up the Islamic Republic, and if they weren't ready now, then they were never going to be ready. Especially considering Trump got in on a mandate of withdrawing from the forever wars. No matter which party is in office, I think the facts on the ground would remain the same. There would still be this panic in Kabul. You'd still see desperate refugees clinging to any aircraft flying out. And there would still be a lack of willingness in the ANA to fight.
The seeds for the chaos in withdrawing from Afghanistan were sewn a long time ago by the mismanagement of policy by the Obama and Dubya administrations. And even if Trump had withdrawn within his term, and this sort of chaos erupted, I could not blame him.