What of the meaning of life? If the universe is simply a simulation, then the meaning of your entire existence boils down to a scientific experiment or perhaps to being entertainment for the creator beings. This might be a bit disappointing for you. But if you think about it, what would be a satisfying answer to the meaning of life, in the simulation or out of it? It seems difficult to think of a fully satisfying answer to a question that has been put on the most ornate pedestal of all questions. ‘To love or to live’ sound like something you’d read in a cheap self-help book. The Epicureans thought that the meaning of life was to seek modest pleasures. To me at least, that does not sound very satisfying.

https://philosophynow.org/issues/139/A_Survival_Guide_for_Living_in_the_Simulation