what bit are you struggling with that we are talking about how Biden handled it and left billions in active weapons there .
Even the article your quoting from alludes to that
The stated objective was to promote a peace negotiation between the Taliban and the Afghan government, but that diplomatic effort had failed to gain traction before former US President Donald Trump was replaced by President Joe Biden in January.
Because Trump failed to fill diplomatic posts abroad and only had a skeleton diplomatic corps during his time in office. He left Biden very little to work with, but of course you'd rather blame Biden.
The new US president pushed ahead with the plan for the troop withdrawal but extended the deadline to August 31.
.
Biden has faced the biggest crisis of his presidency over the war in Afghanistan, which he argued needed to be brought to a close after 20 years stalemated fighting that had cost American lives, drained resources and distracted from greater strategic priorities.
Republicans have accused Biden of lying about the military commanders’ recommendations to keep 2,500 troops in the country, playing down warnings of the risks of a Taliban victory, and exaggerating the US’s ability to prevent Afghanistan from again becoming a safe haven for armed groups like al-Qaeda.
“I fear the president may be delusional,” said Mike Rogers, the top Republican on the House of Representatives Armed Services Committee, calling the withdrawal an “unmitigated disaster”.
“It will go down in history as one of the greatest failures of American leadership,” Rogers said.
Which began with Trump. (see above.)