Earlier quoted context omitted.
You're right, but it's not shame. It's just a raw reinforcement feedback cycle. If you repeatedly put a lot of effort into things that fail (or fail to achieve an expected reward - monetary, status, etc...), and then you train your brain to associate labor with failure, so it creates a mechanism to avoid labor. It's why scientists burn out regularly. 9/10 experiments fail - and that's for a highly skilled scientist.
When scientists burn out, that has probably more to do with the continuous grant hunting, bureaucratic nonsense, and backstabbing they're exposed to. When PhD students or postdocs burn out, it's because of underpaid boredom, lack of communication about their research or job uncertainties, and a generally ungrateful and passionless environment. I've never seen scientists burn out over failed experiments. They know upf…
It's never a single failed experiment.
I can't think, off the top of my head, of a scientist that I've known professionally that I didn't see burn out at some point or another (besides the PIs). For those that I have been watching their experiments, it usually happens after a slew of experiments fail (anywhere from 1 month - 6 months worth). I've probably met about 75-ish scientists that I've watched burn out.* Of these, about 25 or so I have working knowledge of what they were doing around the time of burnout.
*one guy, after three successive failed projects that his PI gave to him, had a very characteristic pattern. He would come in really late (4pm or so), then play game boy tetris on a java applet for about 3-4 hours, then do a little bit of science, and come back and do more tetris. Some of the things he would do - using pipette tips in geometric patterns.
I mean it makes sense. These little achievements provide dopamine hits reinforcing self-worth after completion of a minor task.