1 Peter 3:17

For it is better, if it is the will of God, to suffer for doing good than for doing evil.

Surrounding context

3:16 having a good conscience, that when they defame you as evildoers, those who revile your good conduct in Christ may be ashamed.

3:17 For it is better, if it is the will of God, to suffer for doing good than for doing evil.

3:18 For Christ also suffered once for sins, the just for the unjust, that He might bring us to God, being put to death in the flesh but made alive by the Spirit,

Translation and sources