We're still going through 1 Peter in church, and last week was on unjust suffering. This week the pastor also talked about this topic and the reasons unjust suffering can be beneficial.
Unjust suffering can be looked at in a myriad of ways --- illness, faith persecution, getting in trouble for doing something right. One way to look at it is law enforcement, which is controversial right now. Many law enforcement officers are suffering unjustly for doing their jobs, for trying to protect us.
Looking at Jesus's example, it says in 1 Peter 3 that just suffered to take on the sins of the unrighteous. His unjust suffering had a purpose for it. It's somewhat similar to law enforcement, who fight for us and take on the issues that come along with fighting evil. Instead of citizens having to protect themselves and dealing with death and injury that comes with that, they fight for us and take on those consequences. It's purposeful, although unjust, suffering.
If Christ suffered in the flesh, we can "arm ourselves with the same way of thinking. " God let his son through suffering and did incredible good, and if any of us face that he can do wonders through us as well.