Everyone makes these claims, but I've worked at multiple successful companies with atrocious onboarding and code quality. A few people always make the claim that the software will become impossible to update or the system will collapse, and it never happens, even after a decade or more.
Well this is just wrong, so I don't really know how to respond. You're probably thinking about monopolies such as Facebook, Google, or the like, where not only does code quality not matter, but not much matters at all. Most businesses do not have this luxury.
Nope. I'm thinking about every single company I've ever worked at. My previous job was in healthcare and most of the software in the entire industry is atrocious.