You are right that some crappy software is highly profitable, but to say that Microsoft's software products have gotten worse with each release is to have a very non-standard definition of "worse". You still might not like Windows or Office, but on the basis of stability and usability, two attributes that most people would correlate with quality, there is really no question that relative quality improved from one release to the next.