Maybe you don’t believe in the afterlife. Maybe what happens in life only matters to you while you’re alive. And if that’s how you are, that is valid enough. However, if you find yourself caring about what you could leave to others after you’re gone, then it’s worth pondering some more.
It doesn’t matter whether you’re a theist, an atheist, or an agnostic. Regardless of any of that, you may or may not care about the long-lasting consequences that your actions could have.
You may be moved to highly ambitious goals. Not just in the service of yourself (your name, your image, and how you will be remembered), but in the service of others (a generous gift to them). What will it be exactly and in what measure depends, but it can be taken as your mark in history.
Alternatively, it may be simpler than that. Rather than going down in history as somebody noteworthy for a major contribution to the world or an area of it, you may instead be moved to help your family, your community, and others around you or that you choose in some significant manner.
This aim can push you forward to achieve and accomplish more than you would otherwise. As you’d no longer be living only for yourself and your brief life, but for more that goes beyond it. And if the idea of it is inspiring to you, then you’d know it is meant for you to pursue…