Probably just the wrong company. Bad management can make any career awful.
And yes, there are lots of bad companies. But there are also good companies. I have worked at companies where people were very careful to test their software, and where programmers were valued.
Before giving up based on a very small sample size, try finding a new job or two. https://www.keyvalues.com/culture-queries is a good set of questions to ask during interviews to find the things you care about.