Evolution occurs in populations and often is in reaction to the environment. Mutations are infrequently the basis for speciation or population change unless they are frequently occurring mutations. More frequently existing alleles are selected for among the diversity within the population by giving reproductive to individuals possessing that characteristic. So, it really isn’t all that random. Only genetic drift is in part random. Survival is the product of evolution and that isn’t random.
I did not say random (although mutation is random WRT fitness) - I said evolution cannot have a goal is unguided and blind. What’s up with the song and dance routine?