Matthew 22:26

Likewise the second also, and the third, unto the seventh.

After the first brother died, the second married the same woman, then the third, and likewise each in turn up to the seventh.
The account belongs to the Sadducees' hypothetical question about seven brothers and the resurrection, posed together with the Pharisees and Herodians to trap Jesus with artful questions.
The scenario was designed to make belief in the resurrection seem absurd by implying that earthly marriage relationships would resume after the dead are raised.
It supplies the case that Jesus answers; it does not teach that marriage or earthly relationships resume after the resurrection.

The account is cited as part of the wedding-feast parable, where the successive marriages raise the question of who the wedding guests are if the church is the Lamb's wife.
In that use it challenges the view that the church is the bride and that the marriage takes place after Christ comes and the saints are taken to heaven.
It is part of Jesus' illustrations and warnings about the result of rejecting the Son of God.
The warning applies in every age to those who refuse to receive him as Redeemer, and unless they repent the foreshadowed doom will be theirs.

It belongs to a question Jesus met with plain, intelligent answers that brought light to the listening crowd and planted seeds of truth in them.