Trump pulled out of Paris and Afghanistan with barely a thought. To be fair Biden’s got some mess to clear up
Afghanistan has been a violent country for centuries. Intensely Tribal, they only unite when there is a foreign invader to be ejected. When Britain was the greatest power in the world it tried three times to conquer Afghanistan, with no success. (Before a snowflake storm hits me I'm not justifying these wars). The Russians tried the same thing, as did the Americans. All failed.
The 'Talban' are around 75000 strong. They are equipped with essentially light weapons, and have no air power. The Afghan army is around 300000 strong, with modern western provided equipment and an air force. If there was the will to fight the balance of power lies very much with them. The answer lies, as it did in Vietnam, with a succession of corrupt, puppet, western appointed leaders in whom the people have no faith. If it was the will of the people to resist the Taliban then it would be apparent, as in countries like Roumania. When and if this will emerges, there will be an uprising. I am not claiming that the majority of people want to be ruled by the Taliban, simply pointing out that they clearly don't think the alternative is much better.
Do the Taliban offer a threat to other countries? Possibly to Pakistan, where the border 'Tribal Zones' are almost part of Afghanistan already. To other countries? All the evidence says no.
Should we in the West be in the business of enforcing our values (no matter how enlightened they appear to us) on other sovereign states? That's the subject of another debate, but if the answer is yes then why Afghanistan? Why not China, Saudi Arabia, parts of Africa?
Is it because it appears to be a soft target? Clearly that's not true. Is it because of 9/11? 15 out of 19 hijackers were Saudi. Bin Laden was Saudi. The money was Saudi. Show me the Afghan connection.
There will be a period of abrogation of women's rights in Afghanistan. There will be a period of suppression of many of the rights we (used to) take for granted in the UK. None of this is welcome, but as it stands it has been accepted, or at least not actively resisted, by the population concerned. Perhaps we have inadvertently fostered a culture of dependence on foreign support and protection in a population who for centuries fought tooth and nail for what they believed in. More blood and money is not going to resolve this, indeed it will make it worse.