From a purely scientific view life has a purpose if not a meaning. The purpose of life is to survive. Every living organism is striving to survive. Now this is fine for non-sentient life forms because they arenâ€™t aware that survival in the long run is impossible. But I know I wonâ€™t last forever and Iâ€™m pissed about it. Sure I can reproduce, but that doesnâ€™t mean I go on surviving. So the purpose of life is a goal which canâ€™t be obtained.
This reminded me of a Star Trek quote.
Madness has no purpose or reason but it may have a goal. â€“ Spock
So Iâ€™ve come to the conclusion that hoping or looking for a purpose in my life would only prove Iâ€™m insane.