Notice the linkage between wine and rejoicing. Also notice, though, that within the overall context, the true rejoicing comes, not from physical wine, but from the restored relationship between Israel and God. That restored relationship will add a quality to life, and enhance the life of Israel and Judah, far beyond what the fruit of the vine can.
We can tie this theme to Christ's miracle at Cana in John 2. The people at the wedding feast needed wine, but all they had was water. They had six stone waterpots with water for their manmade purification rituals. Six is the number of man, and stone symbolizes a heart that is hardened and impenetrable. Whether Christ's mother, Mary, knew it or not, her statement that they have no wine aptly described the state of the nation. The nation had traditions, but she was lacking the spiritually-enhanced life that would come from a New Covenant. She was missing something. So, even though His time had not yet come, Jesus turned the water into wine. It foreshadowed the covenant that would cause true rejoicing. Thus, Zechariah prophecies that Israel will rejoice as if with wine when their hearts are lifted up in the right way because of a renewed covenantal relationship with God.