The mistake the West made in training and arming over 300,000 Afgamy males is that is just that. They are males.
These men are giving up in droves.
If the army were all female, who are the ones who have the most to loose, they would not have surrendered.
Edit.
They would probably have fought...