Trump had 4 years to support the Afghan government in preparing for the withdrawal, and signed the agreement to leave the country. He insisted even this year that Biden should leave earlier than the planned date.
But Biden is the bad President, sure.
If he cancelled it, and kept the troops in Afghanistan, he would be wildly criticised for it.
A former president invaded Afghanistan and stayed there for 6 years without a get out plan.
This was always going to happen under any President:
www.washingtonpost.com/graphics/2019/investigations/afghanistan-papers/afghanistan-war-confidential-documents/
"A confidential trove of government documents obtained by The Washington Post reveals that senior U.S. officials failed to tell the truth about the war in Afghanistan throughout the 18-year campaign, making rosy pronouncements they knew to be false and hiding unmistakable evidence the war had become unwinnable."
"The interviews, through an extensive array of voices, bring into sharp relief the core failings of the war that persist to this day. They underscore how three presidents — George W. Bush, Barack Obama and Donald Trump — and their military commanders have been unable to deliver on their promises to prevail in Afghanistan."
"The interviews also highlight the U.S. government’s botched attempts to curtail runaway corruption, build a competent Afghan army and police force, and put a dent in Afghanistan’s thriving opium trade."
But people only pay attention when the shit (or the blood) hits the fan.