The function of a priest is to open the way to God for men. The priest is the man who builds a bridge between men and God. That is what Jesus did. He opened the way to God. He made it possible for men to enter into the very presence of God.
Myrrh is the gift for one who is to die.
Myrrh was used to embalm the bodies of the dead. Jesus came into the world to die. Holman Hunt has a famous picture of Jesus. It shows Jesus at the door of the carpenter's shop in Nazareth. He is still only a boy and has come to the door to stretch His limbs which had grown cramped over the bench.