Every time I make this point someone says something to this effect. If you spend your career writing garbage for a ransomware gang or an outsourced app development agency you probably won't have too high an opinion about software development. It's just a difficult thing for me to believe that this happens in large amounts at the best companies.
Most jobs aren't at either of those two extremes (garbage vs best companies). There's a lot of work in the middle, where your job is to use your tools to facilitate a business outcome; if your boss has to tell you how to do it, the company probably hired the wrong person.