I got a very bad review from one reviewer, but the paper was not rejected
Since

the editor did not reject my paper and asked me to provide a revision

you can revise the paper and resubmit with a fair chance that it will be accepted. Respond to all the comments in the favorable review, either by changing something or explaining in your cover letter why you didn't.
Try to put the  tone of the unfavorable review aside so that you can decide whether addressing  any of the comments there will in fact improve your paper.
You could write the editor in advance to ask if this is a reasonable strategy. You don't have to withdraw just because one reviewer was unprofessionally nasty.