We do not seek persecution and it certainly should not come because we're obnoxious.
But if we walk in the footsteps of Jesus and live according to the beatitudes we are bound to face persecution.
The blessing is that we are walking in the footsteps of Jesus and great are our rewards in heaven.