Passage
He was in the world, and the world had [its] being through him, and the world knew him not.
He was in the world, and the world had [its] being through him, and the world knew him not.
John 1:8 *He* was not the light, but that he might witness concerning the light.
John 1:9 The true light was that which, coming into the world, lightens every man.
John 1:10 He was in the world, and the world had [its] being through him, and the world knew him not.
John 1:11 He came to his own, and his own received him not;
John 1:12 but as many as received him, to them gave he [the] right to be children of God, to those that believe on his name;
The verse centers on "world", "through", and "knew". It is saying that the verse draws attention to "world" and "through", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 9's "The true light was that which coming..." into verse 11's "He came to his own and his...", so "world" and "through" belong inside that flow. 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 "world" and "through" with trust shaped by these words, not by a vague optimism outside the passage.