Hebrews 10:34

10:34 For in fact you shared the sufferings of those in prison, and you accepted the confiscation of your belongings with joy, because you knew that you certainly had a better and lasting possession.

Hebrews 11:35

11:35 and women received back their dead raised to life. But others were tortured, not accepting release, to obtain resurrection to a better life.