Pasteur and Mendel didn't believe in evolution and they were contemporaries of Darwin.
Mendel didn't know about evolution, for pete's sake.
I don't know about Pasteur. But today genetics is all driven by understanding evolution. It is genetics and related fields that are driving medical progress.