When it came time for them to dedicate their son to the Lord as was the custom back then.
Joseph and Mary made the journey to the temple to not only circumcise him on the eighth day but also dedicate him with his chosen name.
The name given to them and him by the angels.
They both remembered the words given,
“You shall call his name Jesus.”
In the temple there was man named Simeon who had waited for the chosen child for years to arrive.
Luke 2:
Now there was a man in Jerusalem called Simeon, who was righteous and devout. He was waiting for the consolation of Israel, and the Holy Spirit was upon him.
It had been revealed to him by the Holy Spirit that he would not die before he had seen the Lord’s Messiah.
Moved by the Spirit, he went into the temple courts.
When the parents brought in the child ‘Jesus’ to do for him what the custom of the law required,
Simeon took him in his arms and praised God saying:
“Soverign Lord, as you have promised, you may now dismiss your servant in peace.
For my eyes have seen your salvation, which you have prepared in the sight of all the nations: a light for the revelation to the gentiles and the glory of your people Israel.”
33 The child’s father and mother marveled at what was said about him.
34 Then Simeon blessed them and said to Mary, his mother:
“This child is destined to cause the falling and rising of many in Israel, and to be a sign that will be spoken against,
so that the thoughts of many hearts will be revealed.
And a sword will pierce your own soul too.”
Can you even imagine what Joseph and Mary was thinking about?
this was a dedication anticipated for many years.
I can’t even think of the thoughts they must have had when hearing this news from someone they had never met.