Matthew 1:18-19 NIV
18 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. 19 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.
Luke 1:38 NIV
38 “I am the Lord’s servant,” Mary answered. “May your word to me be fulfilled.” Then the angel left her.
You don’t have to understand the plan to trust that God has a purpose.
Matthew 1:20-21 NIV
20 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. 21 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.”