I've had an insane, racist and homophobic boss in one, and I had to deal with psychological harassment in another. Then, I went abroad and had to come back to my country after a year. After that, I got a new job. It had an amazing culture and it was one of the best places to work, but I discovered hated consulting, so I had to leave.
Nowadays, I am in an amazing company, but things are going south for months already, and I can't see the light at the end of the tunnel. I don't believe that the product we're building is really going to save the world as the CEO promises, and I often disagree with the business and product decisions. Also, the whole team they had before mine left the company in less than one week because they couldn't take it anymore.
At this point, I just feel like I am giving up and not fighting enough. I love the software engineering world and I have no will to leave it. Now I am a Software Engineer and SRE looking for opportunities in which I work in what I truly believe: open source, communities, solving complex issues, innovating and sharing knowledge.
I'd love to read your opinions about this. I am also taking any good articles about this subject.
If you are worried about it, just don't put every job experience on your resume; only keep the ones that you think would be a benefit. And if that creates some glaring spots in your work timeline leave dates off too. And if asked in an interview for a timeline you can explain a lot of it. But as always, I would recommend you leave out the negative aspects as to why you left (like the racism and such). It is usually a red flag to future employers when you bad mouth previous workplaces -- justified or not.