Women received their dead raised to life again. Examples are the widow of Zarephath (1 Kings 17:17-24) and the Shunammite (2 Kings 4:18-37).
And others were tortured. This was especially true in the terrible persecutions recorded in the Book of Maccabees.
That they might obtain a better resurrection. They preferred to suffer in hope of the resurrection to eternal life.