To those in the comments who mentioned you are just starting your own PhD: Good luck to you! And, I hope you, like I once did, find a problem that you can fall in love with for a few years.
To those just finished: Congratulations! Don’t forget to keep pushing!
To those many years out: You have to keep pushing too, but there can be tremendous value in starting all over again by pushing in a different direction. You have no idea what you may find between the tips of two fields.
I'm sure over the years you've known students who have started a PhD and not finished. What (if anything) have you said to them? Do you feel their efforts had any value?
Your job title probably won't be 'professor', but you'll be doing basically the same work as one.
The harsh truth is that key to academic career advancement is who you know much more than what you know. I every single person I knew in graduate school who got a postdoc position did so through informal means (i.e. knowing someone who knew someone), and having letters of recommendation written by the right people from the right departments at the right schools opens all sorts of doors to the academic hierarchy that would otherwise be closed.
No need to punch them; if someone has been exposed to enough dimethylcadmium to describe its odor as "characteristic" they probably don't have long to live...
So older scientific literature is full of all sorts of knowledge that was obtained in ways that are shockingly unsafe by modern standards, including gems like the taste of all sorts of poisons and how large quantities of plutonium are warm to the touch.
Additionally, graduate students tend to avoid selecting research areas they dislike or find disgusting. The most disturbing presentation I've ever watched was a slideshow given by a parasitologist in which I saw worms in parts of the human body I never imagined it possible for worms to be in. No wonder students aren't lining up to spend years of their life working with them.
Fortunately I had the proper goggles on but was always terrified of catching a stray reflection and blinding myself. Now we live in a world of dirt-cheap high-powered diode lasers, and when I see all the stupid things YouTubers do with them with almost no discussion of proper eye safety, I wince.
This article completely glosses over the fact that to publish a typical negative result, you need to have progressed your scientific career to the point where you are able to do so. To get there, you need piles of publications, and since publishing positive results is vastly easier than publishing negative ones, everyone is incentivized to not waste time on the negative ones. You either publish or you perish, after all.
Simply put, within the current framework of how people actually become scientists and do research, there is no way to solve the 'file drawer' problem. You might see an occasional graduate student find something unusual enough to publish, or an already-tenured professor with enough freedom to spend the time submitting their manuscript to 20 different journals, but the vast majority of scientists are going to drop any research avenue that doesn't immediately yield positive results.
Anyone who is alarmed by this hasn't been paying attention to the perverse incentives scientists have been facing for decades.