There is this saying:
Live each day as if it’s your last
I never liked it because it allows for wide interpretation.
I believe, everyone should strive to live every day so that people have something nice to say and remember when you are gone. They shouldn’t have to come up with general phrases like “He was a nice person” and similar.