The true purpose of religion is that of transmitting sacred teachings for spiritual reawakening and for fellowship and sharing in the mutual progress toward that reawakening.
Everything else added to religion is a dilution or a distraction, usually by ego. And Ego is the key barrier to spiritual reawakening.
I don't often go to church, because I don't feel a spiritual enough message in any of the sermons. God is love, but many of the messages are not those of Love. Many are recitations of scripture without understanding its truer, more spiritual meaning.
Many secularists feel that religion is the source of evil in the world. I find this almost comical, because so much evil in the world has nothing to do with religion. The true source of evil is that of Ego (selfishness and separateness). This is what religion is meant to resolve.
As Christ said, the "first" (egotistical) shall be last; and the "last" (humble) shall be first.
The very thing that destroyed religion so many times is the very thing that religion was meant to destroy. We're almost there.