There are definitely jobs that exist, where society as a whole would be better off if the jobs didn't exist. Add up the negative externalities of a job: its environmental cost, its toll on mental/physical health, its promotion of harmful vices, its victimization of others, its criminality/illegality, and so on. Not saying ride share tips the scales either way, but there are scales and it's not always positive for all jobs.