Prostitution by itself is not wrong, but the social dynamics around it put the prostitutes in a weak position, in which they are at high risk of abuse and exploitation. Under this interpretation, prohibiting prostitution harms the few prostitutes which would mot be abused and their clients, but benefits the majority of prostitutes who would be abused and is overall positive for society.
The logical structure of the argument is sound. As a society, we regularly accept to forbid behavior that is not necessarily harmful, but has an very high risk to be, and a limited social value if allowed. Gun laws, speed limits, age of consent laws follow this principle. [Aside: the social benefits of gun ownership are valued more in the US than in Europe, therefore gun laws are more permissive]
There are however at least three problems with this argument:
1. It supports punishing pimps and clients, not the prostitutes themselves. This is in fact the approach chisn by e.g. France and Sweden, but not by the US.
1. It assumes that a substantial proportion of prostitutes are exploited or abused and that there are no alternative policies to prevent this.
3. It ignores second order effects. It assumes that forbidding prostitution will eliminate it and doesn’t consider the additional risk of harm resulting from pushing prostitution to the black market.
That doesn't mean all farms are bad, but many of the same dangers do exist to the workers down the chain and regulation seems to avoid having to raise prices more than protect workers.
In my opinion, political opposition of the basic concept of sex work is all about politicians' personal morals and a lot of fear mongering to convince the masses of their point of view.
At it's heart this is an argument of pragmatism, but it is never checked to see if it actually works.
Like many prohibitions, the negative unintended consequences are worse than than the original problem they purport, but entirely fail to fix.
https://en.wikipedia.org/wiki/Prostitution_law#Views_of_proh...