John 1:2

1 In the beginning was the Word, and the Word was with God, and the Word was God.

The same was in the beginning with God.

3 All things were made by him; and without him was not any thing made that was made.

4 In him was life; and the life was the light of men.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
He was with God in the beginning.
KJV
The same was in the beginning with God.
WEB
The same was in the beginning with God.
ASV
The same was in the beginning with God.
DARBY
*He* was in the beginning with God.
BLB
This One was in the beginning with God.
ÅB
Han var i begynnelsen hos Gud.
OTB
Han var hos Gud i begynnelsen.
B1930
Han var i begynnelsen hos Gud.

Study notes (Tyndale)

Original text and word study