I don't think you can eradicate religion/(spiritual) beliefs. Everyone believes in something. Some believe in a god or more than one, some believe in some supernatural power, some believe in science, some believe they don't believe in anything.
And it's natural for people who believe in similar things to flock together, invent rituals and pass on their beliefs to their children.
And it's natural for people who believe in similar things to flock together, invent rituals and pass on their beliefs to their children.