Do you think Al Gore or John Kerry would have been better?
Both of them would have hastened the process.
That said, Bush2 did a crappy job of selling the idea of a “neutral” Afghan to citizenry. DJTrump had a deal with Taliban, which BeijingBiden killed because the CCP told him to do so — they will move into Afghan and ally with Taliban.
Like with Vietnam, we had a deal, could have enforced it; but the new regime could not accept a left-over success from previous. Why? Because new regime got into power only by demonizing the previous. ONLY
We'll never know.
At least Democrat presidents do the stuff that the people who voted for them wanted them to do, unlike Republican presidents who just seem to screw us.