I actually think lack of religion is one of the major reasons for a declining birth rate. The church was an important third space.
Even now in the Korean-American community, the running joke is that if one suddenly starts going to church in their 20s, it's only because they're looking for a romantic partner.