first off life wasn't an "accident" (that implies it was a mistake, which it obviously isn't) it was a coincidence
anyways i'm agnostic (kinda close to atheist but believe that we can't say for sure whether a god / multiple gods exist or not instead of just that there is no god) and i think life has a purpose. we are human beings who are intelligent and there's a chance that we're the only intelligent beings in the universe. the rest of the universe is cold and indifferent, but only we have the ability to change that and make it better. i think therefore the purpose of life is to fulfill our role as a human being and to contribute something to society
I know its cliche, but what really is our purpose in life? Going through all this pain, just to die and nothing we did in life to matter. We cry for those who died, while waiting for until our own death, which seems far but is actually just around the corner. It's only after looking at the years you've wasted, that your life is actually a big handful of nothing. All the love, hate, all emotions, you feel for nothing. Why, whats all this we're living for? Why can't we just go? Why do we waste this huge time, doing nothing that will matter to wait for it to end?