You can see the logic by comparing capitalism and patriarchy: labor is essential for making goods, and childbearing is essential for having children.
Why did the US defeat the Soviet Union in the Cold War? Because it had a developed capitalist system that used a market economy to force workers to work—if you didn't work, you didn't eat. In contrast, Soviet state-owned enterprises had no capitalists, which inevitably led to an "iron rice bowl" culture that bred laziness. By the end, the Soviet Union could no longer produce enough goods to meet its people's basic needs. Ultimately, capitalists in a capitalist system serve to oppress and exploit workers, forcing them into insane long working hours and harsh working conditions, and it is this oppression and exploitation that drives up social productivity.
Patriarchy operates the exact same way. In the past, people had lots of children because women weren't treated as human beings, rather, they're seen as baby-making machines. Having one more child simply meant one more heir, and whether they survived was left up to fate. Men were the heads of the household; whether a woman had children came down entirely to her husband's sexual desires, leaving her with no say in the matter. Childbirth itself is painful, and it forces women to sacrifice their rights to education and work. It was this male oppression and exploitation of women that fueled the high birth rates of feudal and religious societies. Women generally want fewer children because giving birth is painful. Therefore, in a society with true gender equality, high birth rates are simply impossible.
The regions with the highest fertility rates in the world are also the ones where women have the fewest rights, such as Gaza and Afghanistan. Migrants coming from these regions do not treat women as human beings at all; consequently, they also have the highest birth rates, and their rates of rape crimes in Europe are dozens of times higher than those of native-born populations. In the UK in particular, Pakistani migrants have committed appalling gang rape crimes targeting minors.
As people's living standards rise, they gain the power of choice and the right to truly live rather than merely survive. That is why capitalist countries also develop institutions to counterbalance capitalism, such as labor unions, left-wing political parties, progressive taxes, and welfare systems. When a society is poor, you have to let some people get rich first, and the poor simply have to endure poverty because resources are so limited. In modern society, however, those who got rich first need to help others catch up, and poverty alleviation is necessary—otherwise, it is a violation of human rights.
Similarly, in modern society, parents love their daughters no less than their sons. Under patriarchy, "a married daughter is like spilled water"—she could no longer carry on the family name, which is why women had so few rights. Today, however, people have the means to protect women's rights as well, so those rights are bound to rise.
In summary, capitalism is a necessary evil to sustain the production of goods, and patriarchy was a necessary evil to sustain the production of people. In today's world, given high living standards, it is no longer possible to revive patriarchy. I believe the only way we might bring birth rates back up to replacement level is to shift our mindset and culture—treating childbearing as a kind of mandatory military service during one's youth—while also providing financial subsidies for having children.