The other gospels don't say the same thing, but that He refused the vinegar. Mark says He refused it? I've heard some speak that Jesus, on the cross, was under a Nazarite vow. Who knows? The fact is that He quoted a Psalm opening line on the cross, but it seems few take the time to read the Psalm and know that God did not abandon Him. From all appearances it seems He did to those who mocked Him by saying 'come down from the cross' and such.
Matthew says wine mixed with gall while Mark says wine drugged with Myrrh. Gall was bitter while Myrrh is sweet and is a narcotic. Both state that Jesus was offered wine before he was cricified and that he refused to drink it. they gave Jesus wine to drink mixed with gall. But when he had tasted it, he refused to drink.(Matthew 27:34)
They gave him wine drugged with myrrh, but he did not take it.(Mark 15:23)
Jesus' refusal to drink wine prior to being crucified is consistent with his statement at the last supper as recorded in by Luke: that he would not drink wine again until the Kingdom of God comes.
He said to them, "I have eagerly desired to eat this Passover with you before I suffer, for, I tell you, I shall not eat it (again) until there is fulfillment in the kingdom of God." Then he took a cup, gave thanks, and said, "Take this and share it among yourselves; for I tell you (that) from this time on I shall not drink of the fruit of the vine until the kingdom of God comes." (Luke 22:15-18)
Both John and Luke however, state that Jesus took wine while actually being crucified, shortly before his moment of death.
Even the soldiers jeered at him. As they approached to offer him wine they called out, "If you are King of the Jews, save yourself." (Luke 23:36-37)
After this, aware that everything was now finished, in order that the scripture might be fulfilled, Jesus said, "I thirst." There was a vessel filled with common wine. So they put a sponge soaked in wine on a sprig of hyssop and put it up to his mouth. When Jesus had taken the wine, he said, "It is finished." And bowing his head, he handed over the spirit.(John 19:28-30)
While Luke does not specifically state that Jesus took the wine, only that he was offered, John is careful to note the fact that drinking wine was Jesus' last act before saying "It is finished" and dying, and not only that, but that Jesus seems to have requested the wine himself. Jesus stated that he would not drink wine again until "The kingdom of God comes" and John's statement that Jesus took wine and said, "It is finished" is (to me at least) an indication that God's kingdom had come with Jesus crucifixtion. I think this is what St. John was getting at. I find putting these pieces of the puzzle together extremely interesting,
The whole subject of wine, Jesus' statement that he will not drink wine or eat the passover until the kingdom of God had come, and his taking wine in the very moment before his death, has a Eucharistic quality to it. With Jesus' death, the kingdom of God had come, and now we could celebrate the Eucharist, and Jesus would eat the passover and drink the cup with us.