Whenever these kinds of useless and idiotic thoughts come to my mind (they often do), I think of the following quote by Steven Weinberg
The effort to understand the universe is one of the very few things that lifts human life a little above the level of farce, and gives it some of the grace of tragedy.
The important part is to understand that this human life is a farce and it does not matter what you do or do not do. So enjoy this farce as long as you can and don't overthink it.