As I opined here many times over the years, Afghanistan is not a nation. It's a place on a map. It is run by warlords and poppy-growers. There has not been any central government with any power.
The Russians pulled out of there decades ago, rightly realizing it was hopeless to mold that place into any sort of modern nation with any outside allies or help.
Guardian is right:
Behind the scenes America’s senior leaders have known, almost from the beginning, that the war was unwinnable, that the Afghan government was fatally corrupt, and that the Afghan security forces would never be up to the task. Instead of acknowledging reality, instead of coming clean to the American people, they hid the truth or outright lied about it. The result?
America's (and NATO's) longest war accomplished exactly nothing. I'll give Trump and Biden credit for publicly recognizing the sad reality.
Taliban seize power amid chaos in Kabul. The U.S. Embassy was being evacuated as Afghanistan's president fled the country.