The study sheds light on the links between modern social conditions and religiosity. However, it should be noted that the results are based on self-reports, which may have been influenced by reporting bias.

and

The results at the individual level revealed weak associations between modern social conditions and religiosity. However, the direction of these associations varied between world regions, suggesting that these conditions alone are unlikely to affect religiosity. Instead, other factors may influence both religiosity and these conditions.

Paper:

Do the Three Modern Social Conditions—High Existential Security, Education, and Urbanicity—Really Make People Less Religious? A Worldwide Analysis, 1989–2020 - Roberts - 2024 - Journal for the Scientific Study of Religion

Some versions of secularization theory propose that existential security, education, and urbanicity exert directly measurable negative effects on religiosity cross-culturally. However, few studies have tested this using longitudinal data. Nor have researchers adequately examined how much the relationship between these modern social conditions (MSCs) and religiosity varies society-to-society. This study addresses these limitations in a series of new analyses, using 1989–2020 World/European Values Survey data from approximately 100 countries. Results suggest that the three MSCs do not exert independent, negative effects on religiosity in general, at least not in the short or medium term. Indeed, national-average increases in these MSCs were not found to predict decreased religiosity. And, interestingly and unexpectedly, the direction of individual-level relationships between each MSC and religiosity varied greatly between countries and world regions. These findings suggest scholars should probably look elsewhere to explain why average religiosity has decreased in some world locations over recent decades.