If you look at the phrase “the world” in John’s Gospel, it is certainly not referring to a limited sense.
John 1:9The true light, which gives light to everyone, was coming into the world.
John 1:10He was in the world, and the world was made through him, yet the world did not know him.
John...