If PhD programmes prepare the candidate for research, why do teaching positions require it?
In order to teach new ideas in any field, you have to (1) understand how research is conducted, and (2) be current on the state of research in the field. By allowing you to do original research, doctoral programs prepare you for both, even if you do not continue research activity.