Joseph takes Mary to be his wife is all that's missing. Whether or not the child is his.
Just a note:
By Jewish law, the father of the child is whomever is married to its mother at time of birth regardless of who the biological father is. Joseph was the legal father of Jesus. It was so in most countries, including this one, until recently with DNA coming into the picture. That is why Jesus can claim to be from the line of David, because Joseph was. It is the mother that defines who is Jewish, If the mother is Jewish, the child is Jewish, regardless of who the father is. If the mother is not a Jew, but the father is---the child is not a Jew. It still is this way though modern Jews want it to be if either is a Jew, then the child is. Jesus claims his humanity through Mary, and his royalty through Joseph. The priesthood was determined by the father. It was passed from father to son---being the Son of God, Jesus had the right of the Divine Priesthood after the order of Melchizedek. All bases covered.
There is no question as to why Jesus was celibate. However, Mary and Joseph---their job was to bring the promised Messiah into the world.
Mat 1:20 But while he thought on these things, behold, the angel of the Lord appeared unto him in a dream, saying, Joseph, thou son of David, fear not to take unto thee Mary thy wife: for that which is conceived in her is of the Holy Ghost.
Mat 1:21 And she shall bring forth a son, and thou shalt call his name JESUS: for he shall save his people from their sins.
Mat 1:22 Now all this was done, that it might be fulfilled which was spoken of the Lord by the prophet, saying,
Mat 1:23 Behold, a virgin shall be with child, and shall bring forth a son, and they shall call
his name Emmanuel, which being interpreted is, God with us
"God with us" is the closest that the Jews got to understanding the Messiah was the Son of God. The angel never told either Mary or Joseph He was the Son of God. What they understood is vague. There is several places that state that Mary pondered these things--like she didn't know what to make of it. The Jews did not understand the Messiah to be the Son of God but the savior from sin. That they had something special was clear, how special, doesn't seem to have gotten through. Even the disciples did not fully grasp it until the resurrection. Mary and Joseph wee not of heaven, only Jesus was.
I wonder, every woman was once a virgin and the first time she has sex, people stop calling her a virgin.
You took one word that doesn't necessarily, well wasn't used the way it was in your interpretation. You turned it into a command from God!
The word 'until'
- 1 Timothy 4:13: Until I come, attend to the public reading of scripture, to preaching, to teaching. Does this mean Timothy should stop teaching after Paul comes?
- 1 Corinthians 15:25: For he (Christ) must reign until he has put all his enemies under his feet. Does this mean Christ’s reign will end? no! Luke 1:33 says, and of his kingdom there shall be no end."
5:21 should suffice to clear up the matter: "But when Paul had appealed to be kept in custody for the decision of the emperor, I commanded him to be held
until I could send him to Caesar."
Does this mean that Paul would not be held in custody after he was "sent" to Caesar? Not according to the bible. He would be held in custody while in transit (see Acts 27:1) and after he arrived in Rome for a time (see Acts 29:16).
So you see the word doesn't mean that God commanded Joseph to have sex with Mary. It doesn't even mean she had sex with Joseph.
(KJV) And knew her not till she had brought forth her firstborn son: and he called his name JESUS.
heōs
heh'-oce
Of uncertain affinity; a conjugation, preposition and adverb of continuance, until (of time and place): - even (until, unto), (as) far (as), how long, (un-) til (-l), (hither-, un-, up) to, while (-s).
Total KJV occurrences: 148
You can look up the occurrences of that word here:
Greek Concordance: ἕως (heōs) -- 146 Occurrences
However you wish to interpret this--in each and every case---there was a time period involved that marked the end of something.
The birth of Jesus marked the end of celibacy for them. It is the presence of God--Jesus--that makes something holy. Not the object itself. Mary was Holy as long as the child was in her. It was the presence of God that made the burning bush holy--that made MT, Zion holy, the made the ark of the covenant holy, not the objects themselves.
Did his birth create some kind of covenant with Mary? That is the question.
The blood covenant that Jesus made was the shedding of His blood only--nothing about the sinner having to shed blood. The blood covenant with Mary, was done at the cross, the same as with all of us.