Thomas Szasz said this quote
“ A vast amount of psychiatric effort has been, and continues to be, devoted to legal and quasi-legal activities. In my opinion, the only certain result has been the aggrandizement of psychiatry. The value to the legal profession and to society as a whole of psychiatric help in administering the criminal law, is, to say the least, uncertain. Perhaps society has been injured, rather than helped, by the furor psychodiagnosticus and psychotherapeuticus in criminology which it invited, fostered, and tolerated. ”