Debian also has an impressive reputation for quality. In many cases it has achieved, through its vast user and developer network, what Red Hat could only achieve through paid staff and commercial resources.
But this is not true in all areas, especially in some aspects that matter to companies such as training/certification and having good up-to-date documentation.
And as a volunteer-driven project, I don't think Debian can ever be as responsive to end-user problems or requirements as a commercial product can be.
But it definitely gives Red Hat a good run for its money. For example, the Debian LAMP stack has long been and still is the gold standard.