Then Isaiah said, “Hear now, you house of David! Is it not enough to try the patience of humans? Will you try the patience of my God also? Therefore the Lord himself will give you a sign: The virgin will conceive and give birth to a son, and will call him Immanuel.
This is how the birth of Jesus the Messiah came about: His mother Mary was pledged to be married to Joseph, but before they came together, she was found to be pregnant through the Holy Spirit. Because Joseph her husband was faithful to the law, and yet did not want to expose her to public disgrace, he had in mind to divorce her quietly.
But after he had considered this, an angel of the Lord appeared to him in a dream and said, “Joseph son of David, do not be afraid to take Mary home as your wife, because what is conceived in her is from the Holy Spirit. She will give birth to a son, and you are to give him the name Jesus, because he will save his people from their sins.”
All this took place to fulfill what the Lord had said through the prophet: The virgin will conceive and give birth to a son, and they will call him Immanuel” (which means “God with us”).
When Joseph woke up, he did what the angel of the Lord had commanded him and took Mary home as his wife. But he did not consummate their marriage until she gave birth to a son. And he gave him the name Jesus.
Joseph, from the line of David, was chosen to be the earthly father of Jesus, the man entrusted to raise the Son of God. He obeyed God in the face of severe humiliation. He did the right thing before God, in the right manner.
God honored Joseph's integrity by entrusting him with a great responsibility. It is not easy to entrust your children to someone else. Imagine God looking down to choose a man to raise his own son? Joseph had God's trust.
Mercy always triumphs. Joseph could have acted severely toward Mary's apparent indiscretion, but he chose to offer love and mercy, even when he thought he had been wronged.
Walking in obedience to God may result in humiliation and disgrace before men. When we obey God, even in the face of adversity and public shame, he leads and guides us.