Confucious was against educating women, Mencius (alledgedly) wanted a divorce because because his wife didn't greet him properly.
I feel these attitudes are more culturally based, women upon marriage left their family to join the husband's family, as such the males were required to maintain the parent's wealth and provide for their old age, it's a cynical piece of economics which has become engrained and enlarged.
Similarly daughters were useful for forming family allegiances (a bit like medieval monarchies) this is because (not just in Afghanistan, but throughout the Balkans, Caucas and Trans-Caucas) rural communities are more inclined to a local relativism than any national conciousness, this also explains the divisive fights within many of these regions due to blood feuds.
The answer to the problem is to present an idea, to announce what it means to be an Afghan, that the Waziris and the Pashtuns etc are brothers with a common cause, to give Afghanistan a place in the world, with a world view.
It will take time to change the attitudes within this region, sadly, the first step is to say that an educated daughter can find a better, richer husband, and with that hopefully increase the aspirations of the following generations.
It mightn't be music to the ears of many but you have to start somewhere, and saying Islam is s h i t will not inspire success I fear.