In fact, infant mortality historically decreases as the education of women increases. (It takes time, a generation at least.) When infant mortality decreases, parents largely choose to have smaller families. Their communities become reflective of a greater commitment to long term benefits for its members.
Despair incapacitates; turn that into continuous loss and you desensitize and paralyze and human beings cannot access common sense or contribute to the growth of a humane society.
Mothers who suffer the frequent loss of young children get demoralized to the point that they can only lie down and take it. They cannot afford to invest as much love and attention to a child that will not be likely to survive. The children who survive belong to superstitious luck. This leaves them open to whatever crack pot pseudo religion that might come along and regardless, it leaves them very vulnerable.
Conversely, women who are educated are committed to the betterment of the community. Healthy children grow into human beings who, having been nurtured and encouraged exercise that most extraordinary human quality, that of envisioning a compassionate world.