Kinda difficult to answer this without sounding like a "im14andthisisdeep" teenager, or a redditor, but i'll give it a shot.
You're looking for looking for some deep profound "meaning" in a meaningless world. I think this is one of the reasons religion is so popular, as most religions give you a clear answer, and promise a reward after death for living life the "correct" way, be it in the form of a desirable afterlife or reincarnation as someone with a better life.
But if you're not religious, then my advice is to simply not "zoom out" too much when thinking about life philosophically. No matter how much wealth you accumulate, or what you achieve, it won't mean anything once you're dead. Even if you somehow managed to impact the world in some significant way, eventually humans will go extinct, and eventually the universe will die of heat death, and nothing you (or anyone else) did will matter even slightly.
All I can say is "don't think about it too much". Easier said than done, I know. It's even harder to avoid thinking about how pointless everything is when you have a shitty life with not much going on.