1 Peter 3:17

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

Berean Standard Bible
Other translations

King James Version

For it is better, if the will of God be so, that ye suffer for well doing, than for evil doing.

World English Bible

For it is better, if it is God’s will, that you suffer for doing what is right than for doing evil.

American Standard Version

For it is better, if the will of God should so will, that ye suffer for well-doing than for evil-doing.

Geneva Bible 1599

For it is better (if the will of God be so) that ye suffer for well doing, then for euil doing.

Darby Translation

For [it is] better, if the will of God should will it, to suffer [as] well-doers than [as] evildoers;

Young's Literal Translation

for [it is] better doing good, if the will of God will it, to suffer, than doing evil;

Bible in Basic English

Because if it is God's purpose for you to undergo pain, it is better to do so for well-doing than for evil-doing.

In context

16keeping a clear conscience, so that those who slander you may be put to shame by your good behavior in Christ.

18For Christ also suffered for sins once for all, the righteous for the unrighteous, to bring you to God. He was put to death in the body but made alive in the Spirit,

Read 1 Peter 3