You don’t have a part to play of any value to anyone outside of your direct orbit. Nothing you can do will impact history. You will be forgotten shortly after your death. There is no afterlife, you’re nothing more special than a bug other than being complex enough to think that you are.
Just live your life however you want, you only get one, and it’ll be brief.