English Standard Version (ESV)
22 “Blessed are you when people hate you and when they exclude you and revile you and spurn your name as evil, on account of the Son of Man! 23 Rejoice in that day, and leap for joy, for behold, your reward is great in heaven; for so their fathers did to the prophets.
Certainly being reviled by the world is not proof that your walking with Christ; however, if the world isn't against you, you're probably doing it wrong.
This is a hard teaching. We want to be liked. It hurts when people denounce us for following Christ. Certainly, I've been guilty of standing down and refusing to fight rather than firmly endorsing what I know to be right.
When was the last time you were spurned "on account of the Son of Man?