19 For one is regarded favorably (is approved, acceptable, and thankworthy) if, as in the sight of God, he endures the pain of unjust suffering.
20 [After all] what kind of glory [is there in it] if, when you do wrong and are punished for it, you take it patiently? But if you bear patiently with suffering [which results] when you do right and that is undeserved, it is acceptable and pleasing to God.
1 Peter 2:19,20 (AMP)
Notice the word "patiently" being used in this passage, which says that if someone treats us wrong and we handle it patiently, it is pleasing to God. The thing that pleases Him is our patient attitude~not our suffering. To encourage us in our suffering, we are exhorted to look at how Jesus handled the unjust attacks made on Him.