I agree with your observation, but I don’t think religion is uniquely notable along those lines.
Ideology comes to mind as a pretty clean analog.
But looming in my mind is culture. Terminally, it seems indistinguishable from religion: it’s arbitrary, self-perpetuating, operates by getting deep psychological hooks into people and relies on (often blunt) communal enforcement.
And further, it seems “culture” has been elevated to the exalted, sacred status religion once commanded in society. In my view, this shift happened over the latter half of the 20th… cemented by 2010.