That's what Christ did definitively: suffered because of others' sins, the Righteous One for the unrighteous ones. He went through it all - was put to death and then made alive - to bring us to God.
For Christ also suffered for sins once for all, the righteous for the unrighteous, that He might bring you to God, after being put to death in the fleshly realm but made alive in the spiritual realm.
1 Peter 3:18 In-Context
keeping a clear conscience, so that those who speak maliciously against your good behavior in Christ may be ashamed of their slander.
For it is better, if it is God’s will, to suffer for doing good than for doing evil.
For Christ also suffered once for sins, the righteous for the unrighteous, to bring you to God. He was put to death in the body but made alive in the Spirit.
After being made alive, he went and made proclamation to the imprisoned spirits—
to those who were disobedient long ago when God waited patiently in the days of Noah while the ark was being built. In it only a few people, eight in all, were saved through water,