It's a combination of education, access to birth control and low infant/mother mortality that does it.
Especially the last one - it's shocking how big a killer childbirth is to women without modern medical procedures. Same thing for children: vaccines, hygiene and nutrition make it a rare tragedy instead of a normal part of life.
> It's a combination of education, access to birth control and low infant/mother mortality that does it.
You left out strong social safety net, but that is key: children are literally people's old age and disability support mechanism when there isn't a sufficiently reliable public one.