Of course it impacts product quality, in fact that's really what matters, code quality is just a useful proxy for that since they're so highly correlated.
No, you made the point of saying that anything which doesn't affect the business is unimportant. Looking at the quality of software products by the largest and most successful big tech companies, it appears quality is not important. You can see how this is contradictory.