What makes you think that evolution has a goal, *at all*?
As I will phrase it:
Evolution isn’t a process - it is an outcome.
The process is interaction between systems, some emergent, others decidedly less so.
Survival is a relative thing - as the saying goes, being born is a death sentence.
Our experience of life is merely a side-effect of the side-effects of the trajectory the self-replicating system of nucleic acids that we are transient vessels for has been through.
But hey: “All that I have learnt I owe to my ignorance” - which segues nicely to..
If someone asked me if I was an Atheist I might say something like:
“I’m not, I am agnostic; Thus far I find claims of absolute knowledge regarding the nature of and reason for being here the likely products of coping mechanisms - and my position probably is as well”