The Fourth Gospel begins:
1 In the beginning was the Word, and the Word was with God, and the Word was God. 2 This One was in the beginning with God. 3 All things came-into-being through Him, and apart from Him not even one thing came into being which has come-into-being. 4 In Him was life, and the life was the light of mankind. [DLNT]
1 ἐν ἀρχῇ ἦν ὁ λόγος καὶ ὁ λόγος ἦν πρὸς τὸν θεόν καὶ θεὸς ἦν ὁ λόγος 2 οὗτος ἦν ἐν ἀρχῇ πρὸς τὸν θεόν 3 πάντα δι᾽ αὐτοῦ ἐγένετο καὶ χωρὶς αὐτοῦ ἐγένετο οὐδὲ ἕν ὃ γέγονεν 4 ἐν αὐτῷ ζωὴ ἦν καὶ ἡ ζωὴ ἦν τὸ φῶς τῶν ἀνθρώπων
The pronoun, αὐτός (αὐτοῦ in 1:3 and αὐτῷ in 1:4) is understood to refer to "the Word." But the closest referent is the noun θεόν, "God" in which case the proper understanding of verses 3-4 is:
3 All things came-into-being through Him [God], and apart from Him [God] not even one thing came into being which has come-into-being. 4 In Him [God] was life, and the life was the light of mankind.
Given that the Old Testament begins "In the beginning God created..." it would seem like the proper monotheistic view is referring to God in verse 2. Of course, if that was John's intention, he might still have the Word in mind:
God: αὐτῷ (verses 3 & 4) ---> θεόν (verse 2)
The Word: αὐτῷ (verses 3 & 4) ---> θεόν (verse 2) ---> θεὸς ἦν ὁ λόγος (verse 1c)
The Word: αὐτῷ (verses 3 & 4) ---> αὐτός (verse 2) ---> ὁ λόγος (verse 1a,b,c)
What is the correct referent for the pronouns in verses 3 and 4? Does John mean only "God" as the Creator similar to Genesis? If he means "the Word" does he accomplish this by referring to God in verse who is "the Word who was God" in verse 1? Or by referring to "this" in verse 2 which refers to "the Word" in verse 1?
Another possibility is this is another example of John's "ambiguities" because he has both God the Father and Lord Jesus Christ (the Word) in mind as in Paul's teaching:
yet for us there is one God, the Father, from whom are all things and for whom we exist, and one Lord, Jesus Christ, through whom are all things and through whom we exist.
(1 Corinthians 8:6)
In other words, created life requires both the Father from who are all things and one Lord Jesus Christ through who all things are and through whom we exist. Therefore "Him" reflects the unity of the God and the Word expressed by the singular αὐτός.