In ancient time, sex outside life long legally binding marriage is illegal. That effectively rations females in equal share for everyone. The justification is no woman want to share anyway. Not true.
Prostitution is prohibited because no women want to be prostitute anyway. Not true. To the opposite, being a prostitute often pays much more for women with equal beauty than being a wife. Having a right to be a prostitute will give women some bargaining position that ensures that when they do choose to get married, they are reasonably monetarily compensated for their sexual service.