Plato, in his Socratic dialogue and best known work, The Republic, written in 380 B.C., warned us of possible pitfalls that could lead a society toward civilizational decay.
Here's the quote:
“A society in which there is a multiplicity of doctors and lawyers is already a sick society,...constant litigation and consultation are signs of civilizational decay. Complete absorption in the pursuit of justice and health somehow ends up with neither.”