We read in John 3:16 that "God so loved the world, that he gave his only begotten son." God gave His Son to the whole world. Even so, it doesn't mean that all the people who are in the world will go to heaven. Though He gave His Son to the world, every person who will go to heaven must come to the Son for salvation.