Friedrich Nietzsche said this quote

If one shifts the center of gravity of life out of life into the “Beyond” – into nothingness – one has deprived life as such of its center of gravity. The great lie of personal immortality destroys all rationality, all naturalness of instinct, all that is salutary, all that is life-furthering.