Passage
if the world doth hate you, ye know that it hath hated me before you;
if the world doth hate you, ye know that it hath hated me before you;
John 15:16 `Ye did not choose out me, but I chose out you, and did appoint you, that ye might go away, and might bear fruit, and your fruit might remain, that whatever ye may ask of the Father in my name, He may give you.
John 15:17 `These things I command you, that ye love one another;
John 15:18 if the world doth hate you, ye know that it hath hated me before you;
John 15:19 if of the world ye were, the world its own would have been loving, and because of the world ye are not--but I chose out of the world--because of this the world hateth you.
John 15:20 `Remember the word that I said to you, A servant is not greater than his lord; if me they did persecute, you also they will persecute; if my word they did keep, yours also they will keep;
The verse centers on "world", "doth", "hate", "hath", "hated", and "before". It is saying that the verse draws attention to "world" and "doth", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 17's "These things I command you that ye..." into verse 19's "if of the world ye were the...", so "world" and "doth" 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 "doth" with trust shaped by these words, not by a vague optimism outside the passage.