This is a bit of a leap.
There is no link between belief and loneliness.
I live in a largely secular country, people are choosing to not have kids due to the environment and the general satisfaction in their lives without kids.
The same reasons (education and social security) which counter dogma also allow people to make educated choices for their lives.