Wrong.
Atheism replace religion simply because in major developped Western countries, there is a lack of community spirit.
Due to lack of community spirit and a prominence of individualism, materialism, and consumerism, in a hectic modern life, there is no channel for communal gathering and spiritual activities.
Churches, mosques, temples, are centres of community, where people gather and worship together. They are avenues for strengthening and passing down cultures, values, and norms.
I am surprised some anthropologists didnt look at this aspect but proposed ridiculous theories instead.
As a case study,
I suggest looking at America as a case study.
In major cities especially in coastal region urban areas, people lack religious fervour. However, in inner hinterland and rural areas (what they call MidWest and also Bible Belt region), there exist a stronger religious fervour.
How does this happen? Because people in those areas still go to Church on Sundays and they go together as a family and as a community. One church usually covers one neighbourhood and the people inside knows one another. The pastor or preacher performs important social ceremonies such as marriages or death ceremonies.
Now, is it true that they lack modern technology? They lack scientists, or psychologists? They lack modern equipment such as TV set ? They lack social security programmes from the government ? None of this exist. But the real true difference which exist between rural hinterland and the urban areas is at the social level. Urban residents tend to be busier, more individualistic, materialistic, and consumeristic, and most importantly, due to the highly transactional relationships they engage in daily, and lack of bond or glue with the surrounding environment, this condition results in the gradual weakening and finally dispersal of the center of community in the form of church, mosque, and temple. They simply go to bar instead and dance for a communal activity.
I see people and "experts" who proposed ridiculous theories such as the one in the article quoted above, as misguided ideologues and radicals. They have an aversion towards religion because they focus too much on the mythicism aspect and irrationality aspect of it. Therefore, they have a deep-seated prejudice and academic bias and tendency towards condeming religion. They see it as something backward and antithetical to science, and they want to ditch it and confine it to history, and make another leap towards a progress in European enlightenment. However, this excessive motivation brings to a surface their ridiculousness when they go searching for justifying factors or reasons. This is quite regrettable because thruthfully they are being dishonest to themselves, and also not to mention, I'm tired at looking at factionalist / ideological arguments.