Many people reach the end of life only to discover, to their regret, that they spent most of it on things that don’t matter.