I was laid off from my first engineering role at the age of 22 and it broke me. Poor leadership, and infighting between me and my supervisor who couldn't reasonably manage me and support a new engineer (he monitored my git commit history to see if I was "working," leading me to make smaller and more frequent commits to inflate my work). He clearly was a legacy engineer that didn't code much anymore (I had to teach him how to use Git) and due to his age, was promoted to management. I was mid restructuring the UI on their shitty product and dated codebase when I got the news. Up until that point I had been pretty excited for what was supposed to be my first engineering gig.
My whole view changed on work and tech companies in a second.