John 15:18-27, "If the world hates you, keep in mind it hated Me first. If you belonged to the world, it would love you as its own. You do not belong to the world, for I have called you out of the world. That is why the world hates you...If they persecuted Me, they will persecute you also. They will treat you this way because of My Name, for they do not know the One Who sent Me...they have no excuse for their sin. He who hates Me hates My Father as well. They have seen these miracles, yet they have hate both for Me and My Father. This is to fulfill what is written in their Law. They hated Me without reason. When the Counselor (Holy Spirit) comes, Whom I will send to you from the Father, He, the Spirit of truth will testify for you who have been with Me from the beginning."
Upon salvation, the Holy Spirit enters and testifies to you the salvation of Jesus Christ. Those who do not know salvation hate those who testify to this truth because they don't have the truth of the Holy Spirit testifying in them. Come to Christ Jesus in admitting you are a sinner and ask for His salvation and the Holy Spirit's truth will testify to you as well and you will not any longer be a part of the world's hate.