Another point is that professors are very biased in that they successfully completed grad school, probably a postdoc if they are relatively new and then got a tenure track job. They then suggest that you follow a similar track, strong confirmation bias since you see their success and not the "failure" of the 90% who couldn't/didn't find jobs in academia.