Have you searched for 'prostitute etymology' (it comes from the Latin 'prostituere' roughly speaking 'to put forward, on display') or for 'whore etymology' (probably German, like so many English words)
And why does it have a neg view on people working?
Not sure to understand your question, here.