According to Christian belief:
The same day some Sadducees came to him, saying there is no resurrection; and they asked him a question, saying, ‘Teacher, Moses said, “If a man dies childless, his brother shall marry the widow, and raise up children for his brother.” Now there were seven brothers among us; the first married, and died childless, leaving the widow to his brother. The second did the same, so also the third, down to the seventh. Last of all, the woman herself died. In the resurrection, then, whose wife of the seven will she be? For all of them had married her.’
Jesus answered them, ‘You are wrong, because you know neither the scriptures nor the power of God. For in the resurrection they neither marry nor are given in marriage, but are like angels in heaven. And as for the resurrection of the dead, have you not read what was said to you by God, “I am the God of Abraham, the God of Isaac, and the God of Jacob”? He is God not of the dead, but of the living.’ And when the crowd heard it, they were astounded at his teaching.
Matthew 22:23-33
The same day some Sadducees came to him, saying there is no resurrection; and they asked him a question, saying, ‘Teacher, Moses said, “If a man dies childless, his brother shall marry the widow, and raise up children for his brother.” Now there were seven brothers among us; the first married, and died childless, leaving the widow to his brother. The second did the same, so also the third, down to the seventh. Last of all, the woman herself died. In the resurrection, then, whose wife of the seven will she be? For all of them had married her.’
Jesus answered them, ‘You are wrong, because you know neither the scriptures nor the power of God. For in the resurrection they neither marry nor are given in marriage, but are like angels in heaven. And as for the resurrection of the dead, have you not read what was said to you by God, “I am the God of Abraham, the God of Isaac, and the God of Jacob”? He is God not of the dead, but of the living.’ And when the crowd heard it, they were astounded at his teaching.
Matthew 22:23-33