It is another question of the heap that comes to mind when we are on the paths of the Lord, first for wanting to know for sure if we are even committing with ignorance, some crime, breach or
Directly a sin, plus the explanation shown by Brother Eli Soriano, is clear and forceful; Joseph was not married to Mary, when what happened to have been in state by work and grace of the Holy Spirit.
We are glad that the words of God heap on your heart, I believe there is no better thing to do in life than to obey the words of God and follow the God's plan regarding our married life. God knows best