Jesus indeed said, “Blessed are you when people hate you, and when they exclude you, revile you, and defame you on account of the Son of Man. 23 Rejoice in that day and leap for joy, for surely your reward is great in heaven; for that is what their ancestors did to the prophets.”  Jesus predicted it and it does happen. However, when a Christian finds themselves hated, excluded, reviled, and defamed, it’s always a good idea for them to first do some self-examination and make sure they’re not acting like a jerk. I can confirm this from personal experience.
 Luke 6:22-23 (NRSV)