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.
I know that it probably means the same to most people, but I feel a better way, to interpret this verse and mimic the Greek more closely, would be:
Now, the birth of Y'shua, Jesus, happened in this manner. Mary, Y'shua's, Jesus', mother was promised to marry Joseph. However, before they had sex, she was found to be pregnant with a child, conceived by the Holy Spirit.
In this time period and culture, the daughter would rarely decide, on her own, to marry someone. Instead, the parents, most likely the father, would arrange a marriage between his daughter and someone of the same tribe or family, but not the immediate family.
I would like to interject that Y'shua's, Jesus', birth had to be supernatural. Why? Because there is a prophecy that said the Messiah would be born of a Virgin in Isaiah 7:14.
Therefore the Lord himself will give you a sign: The virgin will conceive and give birth to a son, and will call him Immanuel.
However, there is another reason.
You probably have noticed or have heard that the genealogy, listed here, is different from the one in Luke. The reason is simple but a little complex, as I will explain. This one shows the Messianic line through the man, Joseph, while the one in Luke is through Mary. If you have been reading your Bible, then you realize a problem with the genealogy through Joseph. It is cursed.
If you remember the curse that God put on Jehoakim, the father of Jechonias, in Jeremiah 22:30, where God, speaking of Jehoakim, said,"
"Thus says the Lord, ‘Write this man down childless, A man who will not prosper in his days; For no man of his descendants will prosper Sitting on the throne of David Or ruling again in Judah."
That curse disqualifies all descendents of Jehoakim, including Y'shua, Jesus, from sitting on the throne.
However, God had a way around it. First of all, here the Messiah is about to be supernaturally born, by way of a virgin woman, of the line of Judah, another vein of the Messianic line, independent of the cursed seed of the Messianic line through Jehoakim and Joseph.
To drive that point home, the Y'shua, Jesus, that will sit on the throne of David, isn't the babe that is about to be born here. This Y'shua, Jesus, will die on the cross, with the sins of the world and the curse of Jehoakim on him. The Y'shua, Jesus, that will sit upon the throne of David, will rise, from the grave, three days later, with a perfect resurrected body, free from sin and the curse of Jehoakim.
You see, God intervened supernaturally, but still adhered to his Law. Isn't he an amazing strategist?
However, I'm going to leave you hanging for a little while, until we get to Luke, where I'll bring up the provision, through which God gave the women of Israel, the right to carry on the family name and seed, independent of her husband.