During the last supper, Jesus was drinking wine. Then he told his disciples that he would not drink from the fruit of the vine again until the kingdom of God came.1
Later, before he was crucified, Jesus was offered some wine, and he refused it, as you would expect after what he had said. But then when he was about to die on the cross, he was offered some wine vinegar (which is made from grapes, the fruit of the vine), and he accepted that drink.
Possible explanation
Jesus lied about himself, as he always does.