Commercial software has been getting worse for at least a decade now, and the reasons are multifaceted and difficult to solve. They include the switch to subscription pricing, misaligned incentives at companies that make most revenue from "services" or, even worse, ads, the constant need to reinvent solutions to problems that were solved twenty years ago in order to show "progress", companies that build elaborate management systems to attempt to ensure that employees are replaceable, high turnover and a lack of institutional knowledge, and so on.
The ability to generate a lot of code will not solve any of these issues.