Universities exist as gatekeepers and credentialing bodies. Their purpose is to certify that a person has studied some topic in depth and is an expert in it. They promote education indirectly, by giving people an incentive to study.
A good university is one where anyone with a degree is guaranteed to be highly knowledgeable in their field of study. This makes it easier for anyone who might want to employ or do research with graduates, as there is no need to test their knowledge.
By this metric, universities have failed spectacularly. This is particularly obvious in computer science. Employers routinely ask CS graduates to solve data structure/algorithm problems in interviews, because a degree is not enough to prove that somebody knows this stuff.