Wine had many uses in the Bible:
There is nothing in either the Old or New Testament that opposes the moderate use of alcoholic beverages; they were a staple of everyday life.
On the other hand, there is no commandment in the Bible that we must drink, and many individuals and groups abstained from alcohol (Numbers 6:2-4, Daniel 1:8, Jeremiah 35:1-7, Luke 1:13-15). The apostle Paul warned against using the freedom to drink, or any similar freedom, in a way that would be offensive to others or cause them to stumble into sin (Romans 14:19-22).
Wine is a mocker, strong drink a brawler, And whoever is intoxicated by it is not wise. (NAS, Proverbs 20:1)
Woe to those who rise early in the morning that they may pursue strong drink, Who stay up late in the evening that wine may inflame them! Their banquets are accompanied by lyre and harp, by tambourine and flute, and by wine; But they do not pay attention to the deeds of the LORD, Nor do they consider the work of His hands. (NAS, Isaiah 5:11-12)
"Be careful, or your hearts will be weighed down with dissipation, drunkenness and the anxieties of life, and that day will close on you unexpectedly like a trap. (NIV, Luke 21:34)
Let us behave properly as in the day, not in carousing and drunkenness, not in sexual promiscuity and sensuality, not in strife and jealousy. (NAS, Romans 13:13)
Don't be drunk with wine, because that will ruin your life. Instead, let the Holy Spirit fill and control you. (NLT, Ephesians 5:18)
Now the works of the flesh are obvious: fornication, impurity, licentiousness, idolatry, sorcery, enmities, strife, jealousy, anger, quarrels, dissensions, factions, envy, drunkenness, carousing, and things like these. I am warning you, as I warned you before: those who do such things will not inherit the kingdom of God. (NRSV, Galatians 5:19-21)