I can think of two reasons why this is the case.
- Even if a person is living righteously - following God - he/she will still have enemies. In fact, Jesus said that if we follow Him we will have people who hate us. Luke 21:17 Everyone will hate you because of me. But He also said that we would be blessed or happy if men hate us because of Him. Matthew 5:11