This is how the birth of Jesus the Messiah happened. His mother Mary was engaged to marry Joseph. But before they married, he learned that she was expecting a baby. (She was pregnant by the power of the Holy Spirit.) Mary’s husband, Joseph, was a good man. He did not want to cause her public disgrace, so he planned to divorce her secretly.