The system is the cult of academia, which indoctrinates students to go down the funnel of becoming a tenured professor, even though most won't make it to the end. It hides career alternatives because those in the cult are largely ignorant of them. Interactions with loudmouth professors with big egos reinforce the will to persevere and avoid the shame of quitting the cult.
I encourage every PhD student to get industry internships, one per year. This needs to be commonplace. It shows them an alternative, gives them a dignified exit (whether they graduate or quit), creates heavyweight competition for the professors with big egos, pays students a decent wage for a while, and injects some novelty on both sides.