They are full of it. Unless the newly deceased was enduring a life of unrelenting misery or utter hopelessness, I would call BS on such a disingenuous platitude.
By any other comparison, I can’t help but think that life in any measure is an infinitely better place than being dead.
Ask yourself, was it a better place for you before you were born?