The Book of John says that God is the Word in the beginning.
In the beginning was the Word, and the Word was with God, and the Word was God. (John 1:1, NIV)
How is Jesus Christ the son to the Word?
Jesus, when he was with the Twelve Apostles, told his disciples that no one was going to the Father except through him.
Jesus answered, “I am the way and the truth and the life. No one comes to the Father except through me. If you really know me, you will know my Father as well. From now on, you do know him and have seen him.”
Philip said, “Lord, show us the Father and that will be enough for us.”
Jesus answered: “Don’t you know me, Philip, even after I have been among you such a long time? Anyone who has seen me has seen the Father. How can you say, ‘Show us the Father’? (John 14:6-9, NIV)
So, are these verses trying to say that Christ is God and that he has always been since the beginning, so Mary who came later bore Christ who was before?