The wine was most likely offered to Jesus by well-meaning women from the city of Jerusalem. This wine was a primitive narcotic, meant to alleviate some of the pain which criminals would experience during their crucifixion. For this reason, it is highly unlikely that the Roman soldiers would offer wine to the criminals.
23 And they offered him wine mixed with myrrh, but he did not take it.