UNOFFICIAL MEDICAL QUESTION

I was recently prescribed with Zoloft and I was told I could not drink any alcohol.  As someone who even makes my own beer I found this to be pretty disappointing.  I’ll probably get downvoted for asking this but is  this advice just one of those legal obligations doctors give because even though there is a one in a billion chance of it actually having a negative effect they just say it anyways because it costs them nothing or is there an actual good reason behind this?  If it’s a matter of making anxiety and depression worse that shouldn’t be a problem because alcohol helps me with both in short term.