It's possible that you are responsible for your crappy situation. But it's also possible someone is harassing you and THAT is why your environment sux. It isn't the victim's fault that they are being harassed. This may not have happened to the guy who wrote this. But lets be more open minded and empathetic about the many causes of crappy work environments.
I have updated the original article to make this clearer: If you are facing discrimination or bullying, leave immediately! And perhaps consult a lawyer as well.
The article was directed mainly at people who hate their jobs, but not enough to quit (because of fear, because they don't think they are good enough to get another one etc). So they keep showing up, in the misplaced opinion that it will get better.
But it doesn't, and one day all their fears are realised, when they wake up to find they are no longer employable, because they spent all their time just coasting through life, doing the bare minimum.
If a person is in this situation, they need to accept responsibility, and start making plans to move on. This process is hard and time consuming, which is why I say: First improve your skills, then move to a better job. Don't move from one Dilbert company to another. Rather, move to some place that will recognise and reward your skills.
> The article was directed mainly at people who hate their jobs, but not enough to quit (because of fear, because they don't think they are good enough to get another one etc).
Quit on what terms? Before or after finding another position?