In the beginning God created the heavens and the earth.[Genesis 1:1] Right off the bat, the Holy Spirit moves Moses to right that in the very first sentence in the bible. God puts emphasis upon Whom it was who created all that we see, and even that which we do not see.
Carry this over to In the beginning was the Word, and the Word was with God, and the Word was God. He was in the beginning with God. All things came into being through Him, and apart from Him nothing came into being that has come into being. In Him was life, and the life was the Light of men. The Light shines in the darkness, and the darkness did not comprehend it.[John 1:1-5] This is referring to the Christ, God the Son, the second Person in the Triune Godhead. Because later on it says And the Word became flesh, and dwelt among us, and we saw His glory, glory as of the only begotten from the Father, full of grace and truth.[John 1:14] This verse supports vss 1-5 and tells is the Word became flesh and dwelt among us. So this Word is God.[John 1:1]
For further proof the Christ is God “YOU, LORD, IN THE BEGINNING LAID THE FOUNDATION OF THE EARTH, AND THE HEAVENS ARE THE WORKS OF YOUR HANDS;[Hebrews 1:10] So, Moses, John, and the writer of Hebrews, all agree that the Christ is God.