The meaning of life is whatever illusion has managed to gain a hold of your cognitive senses. In fact the term should be the 'meanings of life'. Religious illusions are very resilient to reason, which is why they quickly and easily gain a hold of most people's brain power.
Only human cognition can come up with such a question about the meaning of life and expect an answer. Answers come in the form of memes, which replicate themselves or die in a Darwinian 'only the strongest survive' abstract environment. None of the memes have any association with reality, because reality is inaccessible to us. We human have only our sensory perceptions and neural interpretations.