Was religion originally intended to be about egos?

Was religion originally intended to be about egos?