In the Gospel of Matthew Chapter 1:18 we read:
…That the Blessed Virgin Mary was pledged to be married to Joseph. Before they came to live together Mary was found to be with child by the Holy Spirit. St. Joseph being faithful to the law, had in mind to divorce her quietly because he did not want to expose her to the law. However, an angel of the Lord appeared to him in a dream and told him, “Joseph, Son of David, do not fear to take Mary as your wife, for she has conceived by the power of the Holy Spirit. The one to be born of her is to be given the name of Jesus, for he shall free his people from their sins.” This took place so that the prophecy of the Lord would be fulfilled; “The virgin will conceive and bear a Son and they will call him Emmanuel.” When Joseph woke up he obeyed the angel and did what was commanded of him taking Mary into his home as his wife.
St Joseph, faithful cooperator in our redemption, you were an obedient soul in the hands of the heavenly Father, in arranging everything for the birth and childhood of Jesus, the Divine Master of the world. Saint most docile to the voice of God obtain for us the same living faith that you had when you were presented with God’s holy will. Amen