What I'm saying is that it's very difficult to get admitted as a PhD student. As a result, in some fields it is very difficult to find candidates for professor positions.
And there are many reasons that you might want to get a PhD. It's also totally unreasonable to give people the expectation that you are guaranteed a professor position at a university of your choice just because you have a PhD.