1 Peter 2:20

20 But how is it to your credit if you receive a beating for doing wrong and endure it? But if you suffer for doing good and you endure it, this is commendable before God.

1 Peter 2:20 in Other Translations

KJV
20 For what glory is it, if, when ye be buffeted for your faults, ye shall take it patiently? but if, when ye do well, and suffer for it, ye take it patiently, this is acceptable with God.
ESV
20 For what credit is it if, when you sin and are beaten for it, you endure? But if when you do good and suffer for it you endure, this is a gracious thing in the sight of God.
NLT
20 Of course, you get no credit for being patient if you are beaten for doing wrong. But if you suffer for doing good and endure it patiently, God is pleased with you.
MSG
20 There's no particular virtue in accepting punishment that you well deserve. But if you're treated badly for good behavior and continue in spite of it to be a good servant, that is what counts with God.
CSB
20 For what credit is there if you endure when you sin and are beaten? But when you do good and suffer, if you endure, it brings favor with God.

1 Peter 2:20 Meaning and Commentary

1 Peter 2:20

For what glory is it, if, when ye be buffeted for your
faults
Which ye have committed, and are guilty of, and are truly such:

ye shall take it patiently?
to be silent, and not murmur when beaten, within measure, for real faults, is no great honour, nor does it deserve any praise; it is the least that can be done:

but if, when ye do well;
either in their master's service, or rather in the business of religion, and the things of God; as when what they do is according to the will of God, and from love to him, and in faith, and in the name and strength of Christ, and to the glory of God; without all which there is no well doing:

and suffer for it;
reproach and persecution, by words or blows, in person or property:

ye take it patiently;
without grieving and repining, or answering again, and making any returns:

this is acceptable with God;
is agreeably to his will, and grateful in his sight, what he is well pleased with, is reckoned grace with him; and though it is his own grace, and of his own bestowing, he will reward it with glory.

1 Peter 2:20 In-Context

18 Slaves, in reverent fear of God submit yourselves to your masters, not only to those who are good and considerate, but also to those who are harsh.
19 For it is commendable if someone bears up under the pain of unjust suffering because they are conscious of God.
20 But how is it to your credit if you receive a beating for doing wrong and endure it? But if you suffer for doing good and you endure it, this is commendable before God.
21 To this you were called, because Christ suffered for you, leaving you an example, that you should follow in his steps.
22 “He committed no sin, and no deceit was found in his mouth.”

Cross References 1

Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.