The full statement would be: You cannot take it with you after you die. Thus enjoy it while you are here. It’s used to used about spending money. Take it with reserves if it’s coming form a broke person.
You can’t take it with you so enjoy life now.