Wine symbolism is everywhere you look in the ancient world, particularly in the mediterranean regions and those just beyond it. It is much older than the cult of Dionysus/Bacchus with its roots reaching far back into Sumerian and Egyptian times. As you mention, even in Islam, which of course is later, and where alcohol is generally forbidden, the Sufis or mystical core use it to bring about the change of consciousness known to Plato as "the divine mania"--as a way of experiencing the divine. At the heart of the connection between wine and religion is the miracle of fermentation. This natural transformation through the action of yeasts on the skins of the grapes upon the sugars in the broken grapes spoke powerfully of inner
spiritual transformation. The similarity between grape juice and blood, plus the "lift" of mood made it a natural emblem of the entry of the divine into human life--hence its almost universal use as a sacramental meal long before the Christian era. The vine is the plant most often cited in the Bible for this very reason. Horus was a wine god, so too was dionysus; so too was the Jesus of the Gospels.