1 Peter 4:6

For because of this, the Gospel was also preached to the dead, so that they might be judged, certainly, just like men in the flesh, yet also, so that they might live according to God, in the Spirit

Other versions

King James Version

For for this cause was the gospel preached also to them that are dead, that they might be judged according to men in the flesh, but live according to God in the spirit.

English Standard Version

For this is why the gospel was preached even to those who are dead, that though judged in the flesh the way people are, they might live in the spirit the way God does.

New International Version

For this is the reason the gospel was preached even to those who are now dead, so that they might be judged according to men in regard to the body, but live according to God in regard to the spirit.