What's the positive to society that justifies how frequently these women get robbed, assaulted, and raped?
Why is prostitution a different situation than those?
And how much of the violence against them is because they've been ostracized and routinely lack legal protections?
Is it really better for society that people who do prostitution to avoid starving to death... instead starve to death?
If you really believe people only do sex work because they lack the tools for something else, why not give them those tools instead of removing what little they already have? If your theory is correct, no one will decline these better tools; and anyone who does decline is reasonable evidence that your theory was wrong and sex work isn't actually intrinsically harmful.
Certainly, there are nations that legalize prostitution without falling in to anarchy and violence, and I don't just mean the Swedish model.
Why?