“They also gave me gall for my food, And for my thirst they gave me vinegar to drink” (Psalm 69:21 NKJV).

This psalm of David found its fulfillment in Christ’s suffering on the cross. Reading the four gospels together, it appears that Jesus was offered at least two drinks and perhaps three.
The first drink offered, according to Matthew and Mark, was wine mixed with gall or myrrh. This was offered as He arrived on Golgotha to be crucified. According to tradition, a narcotic drink was offered to those condemned to death in order to decrease their sensitivity to the excruciating pain. Jesus refused this drink, choosing to suffer with complete consciousness.
The second drink was offered by the Roman soldiers in mockery when the crowd thought He was calling for Elijah (Luke 23:36). He did not drink it.
The third drink was requested by Jesus. He said simply, “I thirst” (John 19:28). And the soldiers used a branch of hyssop to lift a sponge full of sour wine or wine vinegar to His lips.
Jesus, Son of David, Son of God, endured the thirst and drank the vinegar of which David prophesied centuries before. Then, He cried out, “It is finished,” and gave up His spirit (John 19:30).