Passage
In [the] beginning was the Word, and the Word was with God, and the Word was God.
In [the] beginning was the Word, and the Word was with God, and the Word was God.
John 1:1 In [the] beginning was the Word, and the Word was with God, and the Word was God.
John 1:2 *He* was in the beginning with God.
John 1:3 All things received being through him, and without him not one [thing] received being which has received being.
The verse centers on "beginning" and "word". It is saying that the verse draws attention to "beginning" and "word", so its meaning should be read from those terms before moving to application.
The next verse adds "He was in the beginning with God...", so "beginning" and "word" should be read forward into that movement. In John context, the local focus is the identity of Jesus, new birth, eternal life, and belief and unbelief.
A plain takeaway is to answer the verse's own emphasis on "beginning" and "word" with trust shaped by these words, not by a vague optimism outside the passage.