Assuming you’re asking a serious question, Taliban don’t consider women “bad.” They just think women are unsafe outside of home and shouldn’t work around strange men. They don’t think women doctors saving lives should supersede that. Women should stay in “traditional” roles in their view. Meanwhile, Afghan men are expected to provide solely for the family, and defend his wives and sisters and mother and daughters to the death.
The Taliban’s opinion restricting women is unpopular among most Afghans, most Muslims, and pretty much everyone. It’s not sanctioned by any religion, and Muslim leaders worldwide have condemned the Taliban over this.