It all depends on the perspective on which you seek to approach the question.
From a purely abstract perspective, an overall "meaning" does not exist; individuals merely construct their own principles of "morality" because it directly benefits them in some manner.
From a biological perspective, the actual purpose is nothing more than constant replication(Via reproduction) to ensure persistence/dominance of a given species.
"Religion" is merely a fabrication to allow vulnerable civilians to be...