Here is a quote from Milton Friedman.
The justification offered is always the same: to protect the consumer. However, the reason is demonstrated by observing who lobbies at the state legislature for the imposition or strengthening of licensure. The lobbyists are invariably representatives of the occupation in question rather than of the customers. True enough, plumbers [...]

