This is how Jesus The Messiah was born. His mother, Mary was engaged to be married to Joseph. But before the marriage took place, while she was still a virgin, she became pregnant through the Power of The Holy Spirit. Joseph, to whom she was engaged, was a righteous man and did not want to disgrace her publicly, so he decided to break the engagement quietly.

As he considered this, an angel of The Lord appeared to him in a dream. “Joseph, son of David,” the angel said, “do not be afraid to take Mary as your wife. For the child within her was conceived by The Holy Spirit. And she will have a son, and you are to name Him Jesus, for He will save His people from their sins.”

All of this occurred to fulfill The Lord’s Message through His prophet: “Look! The virgin will conceive a child! She will give birth to a Son, and they will call Him Immanuel, which means ‘God is with us.'”
Matthew 1:18-23 (NLT)