Joseph believed and obeyed God’s instruction
Joseph’s faith was put to the test when he discovered that his espoused wife Mary was pregnant. Joseph, being a just and God-fearing man, did not wish to embarrass, punish, or expose Mary to harm. To all outward appearances it looked as if she had broken their solemn pledge to be chaste and faithful to one another. Joseph, no doubt took this troubling matter to God in prayer. He was not hasty to judge or to react with hurt or anger.
God rewarded him not only with guidance and consolation, but with the divine assurance that he had indeed called Joseph to be the husband of Mary and to assume a mission that would require the utmost faith, confidence, and trust in Almighty God. Joseph believed in the divine message to take Mary as his wife and to accept the child in her womb as the promised Messiah, who is both the only begotten Son of God and son of Mary conceived by the Holy Spirit.