If you were of the world, the world would love its own. But because you are not of the world, since I chose you out of the world, therefore the world hates you. – John 15:19, World English.
Jesus was speaking to his disciples, that they “are not of the world.” This signifies that they were no longer being considered, or counted, as being of the world that has been condemned through Adam’s sin. (Romans 5:12-19) They were counted as having “passed out of death into life.” (John 5:24) This is the same standing of all who actively believe in Jesus: “There is therefore now no condemnation to those who are in Christ Jesus.” – Romans 8:1.
Such, however, are “chosen” by Jesus; they become part of a special company generally called in our translations “the church”. The Greek word is transliterated as “ecclesia”, meaning “called out”; the church in the Bible is not what we often think of as a church, but rather it is a special people called out of the world for a special purpose: to become members of the seed of Abraham with Christ for the later blessing of the world. – Genesis 22:18; Isaiah 2:2-4; Galatians 3:16,29.
Not all, however, who take the name of Jesus are actually “in Christ Jesus”. Jesus spoke of many who would come to him in the day of judgment whom he did not recognize. (Matthew 7:21-23) These were never part of the “called out” class of this age.