I can only imagine that once He was dead and they removed Him from that cross, they took His body to the tomb which was donated to the family. The people who prepared His body most likely used that very same myrrh to anoint His body and bury Him in the grave.