A sister comment already noted the mineral resources, but don't forget the main function of Afghanistan as a nation: production of heroin. Narcopolitics are so fantastically more significant than ever gets any attention from "surface" media, but this is the name of the game. Chinese fentanyl has taken over the global opiate black market, so they have every incentive to support the Taliban who will repress the rival heroin trade over the US-backed government who supported it.