Serving God can be dangerous; because righteousness can make you a target of the wicked and even religious people. Jesus was not crucified by sinners, he was crucified by religious people.
“For indeed I was stolen away out of the land of the Hebrews: and here also have I done nothing that they should put me into the dungeon”
Joseph was victimized because of righteousness. His own brothers sold him into slavery because he refused to partake of their evil deeds but rather reported them. Portiphar’s wife accused him of rape because he refused to have an affair with her.
He found himself in slavery and prison for all the wrong reasons.
Sometimes as Christians, our good can be rewarded with evil. You can help someone and he in adversely can begin to hate you for that. You can be victimized in your office because you are holy. You can lend money to someone and the person can turn into an enemy because he does not want to pay.
When we find ourselves in situations like that, we should continue to reward evil with good because scripture says; do not be overcome with evil but overcome evil with good. Joseph emerged from the prison to become a governor because he forgave his brothers.
God honors his word so keep on doing good.