Birthrate declines as a society becomes more prosperous and women gain control over their reproductive rights.
In fact, the correlation is the opposite of what you said; wealthier people have fewer kids than poor people in almost every country. Your suggestion that people decide not to have kids because they can't afford them is not supported by the data; those who can most afford the kids have the fewest.
https://www.statista.com/statistics/241530/birth-rate-by-fam...