I think you described exactly why writing good software is hard. Not because writing good software is an intractable problem, but because politics often takes precedence over it.
In the business world there is a lot of room for BS so people get away with it. But in software, it can doom a project.