What exactly do you mean by a lack of resources in Afghanistan? I've always heard that it was one of the richest places in the world of unexploited minerals. Does it need to be more specific than that?
Afghanistan has high amounts of mineral wealth locked away, but while it had decent irrigation and farming in the pre-Soviet period (near Kandahar; it's really shitty to fight in btw due to old irrigation channels and just enough cover/concealment to hinder UAVs), decades of war have really hurt the agricultural sector.
More importantly, decades of war have also essentially eliminated any societal reserves of trust, so corruption at all levels is the default. The only functional unit is the family or clan, and very minimal ties to higher units of a tribe -- not to the state. Individual governors, mayors, and police chiefs rule by personal charisma and graft, and bringing their pre-existing tribal relationships in. Organs of the state end up used to settle personal vendettas, too.
There's a lot of literature that national resources (extractive, with low local labor involvement) are a curse -- the "resource curse". Norway has done ok with its oil. Gulf societies have in some ways succeeded but in other ways oil has crippled them. African countries with mineral wealth usually end up relatively fucked compared to countries with productive agriculture or a vibrant commercial sector (Nigeria minus oil is actually pretty decent; Kenya is great. Ghana until recently had no resource based wealth and is basically the Chile of Africa).