Poor people everywhere have more kids than richer people in the same places because various welfare programs make the net cost of each kid less. There's also a massive cost cliff once you get below the threshold at which parents have enough income to justify saving for their kids college.
That doesn't mean family sizes aren't smaller in high cost areas. This is a well known trend.
Are we talking locally rich or globally rich?
People in industrialized (rich) nations don't have tons of kids because that's not how you get ahead in that kind of economy. Subsistence farmers have tons of kids because that's how they get ahead economically.
Within richer nations richer people have fewer kids because the way social safety nets and social expectations of how one should raise one's kids make kids more expensive the higher up you go.
I'm skeptical of local explanations because the relationship is so universal.