@Pythagorean,
First, let me say that I believe that the mind is a product of the brain (but let us be clear I do
not think they are the same). That is, without our brain, our mind would not exist.
Now, things which have minds are said to have evolved from single-celled organisms. Single-celled organisms, as far as we understand them, are not conscious, and nor do they have minds. At least not in the same sense a human would be conscious, or have a mind. So, if single-celled organisms were the predominant organisms at the beginnings of evolutionary life, this most likely means there were no organisms which were conscious or had minds at the beginnings of evolutionary life. If we suppose there were no conscious or mindful organisms at the beginnings of evolutionary life, then we can suppose that evolution, as the process, is not the result of mind. The mind is the result of brain activity, and the brain is the result of evolution.
There are indeed causes for why the mind came to exist. But there's no "higher purpose" for the mind existing.