Afghanistan's resources are certainly a big factor. I covered that too when I said that America wasn't there for the women or the little girls. (smokescreen) It was there to take over control with a valuable strategic piece of real estate.
The ending of the war with America's defeat to the Taliban has absoultely handed the country to the Taliban. Biden can't escape that, even considering that he would want to escape it!
I think that Biden had to be resigned to that fact when he ended the war.
I'm less convinced that he's be roundly blamed for doing it?
Yes, China is waiting, but in truth it can be said that Biden or America has already handed them Afghanistan.
Or more correctly, the Taliban is handing their country to all who have an interest in future trade relations, in spite of Sharia law.
I see America's future cooperation with the Taliban in the sense of it being in the interest of fighting against the common terrorist enemy. That's of course be on Biden until there's a new president.