Then came to Him certain of the Sadducees, which deny that there is any resurrection; and they asked Him, saying, “Master, Moses wrote unto us, ‘If any man’s brother die, having a wife, and he die without children, that his brother should take his wife, and raise up seed unto his brother.’ There were therefore seven brethren: and the first took a wife, and died without children. And the second took her to wife, and he died childless. And the third took her; and in like manner the seven also: and they left no children, and died. Last of all the woman died also. Therefore in the resurrection whose wife of them is she? For seven had her to wife.”
And Jesus answering said unto them,
“The children of this world marry, and are given in marriage: but they which shall be accounted worthy to obtain that world, and the resurrection from the dead, neither marry, nor are given in marriage: neither can they die any more: for they are equal unto the angels; and are the children of God, being the children of the resurrection. Now that the dead are raised, even Moses shewed at the bush, when he calleth the Lord the God of Abraham, and the God of Isaac, and the God of Jacob. For He is not a God of the dead, but of the living: for all live unto Him.”
Then certain of the scribes answering said, “Master, Thou hast well said.” Luke 20:27-39
Those who do not believe in the resurrection asking a question of how marriage works for those who are in the resurrection. It may have been a sincere question, but not likely. Most likely they; the Sadducees; were trying to trick Jesus into error of His thoughts.
Something we can learn form Jesus’s words is that first of all one must be accounted worthy to obtain the world of those who will receive the resurrection of life. Secondly, Jesus says that those in the resurrection will be similar to the angels, and like the angels will never die, but are the children of God.
We are assured by the words of Jesus that there is a resurrection of the Just when He says that “He is the God of Abraham, the God of Isaac, and the God of Jacob. He is not a God of the dead, but of the living…”
Now, who are those who are counted worthy of this eternal life? Only those who believe that Jesus died on the cross for our sins, that He was buried, and that He rose from the dead, and is alive forevermore. Believe what He says, repent of your sins and be saved.