In the Gospel of Matthew, Jesus doesn't seem to agree. Angels, and those who pass into the spirit world do not marry nor are they given in marriage. Genesis, in God's creation of people, says nothing of this--either in the creation of Adam or of Eve. It is only in the very recent LDS church (1841, less that 200 years ago) that the idea of being sealed to spouse in the next life arose.
It seems that way because the children of Israel were under the law of Moses and did not have the Melchizedek priesthood. So when the Sadducees came to Jesus who did not even believe in the resurrection, asked his about a situation where a Jewish woman who married seven brothers, each after the previous one dies, an finally the woman dies. Under the Aaronic priesthood, there was no sealing power to bind of earth and in heaven so when they were dead none of the marriages were sealed or bound in heaven. Thus were of no force and were because marriage is not performed in heaven, they are not married but are as the angels in heaven. However, when Jesus came he restored the Melchizedek priesthood and under this higher priesthood, the power to bind in heaven whatsoever you bind on earth was given.
Matthew 22:19
19 And I will give unto thee the keys of the kingdom of heaven: and whatsoever thou shalt bind on earth shall be bound in heaven: and whatsoever thou shalt loose on earth shall be loosed in heaven.
Here Peter is given the keys of the Melchizedek priesthood and is able from this time to bind in heaven WHATSOEVER he was to bind on earth. Thus if he were to bind a marriage on earth it could also be bound in heaven. The Melchizedek priesthood is a higher priesthood than the Aaronic priesthood which is what the Law of Moses was after.
Doctrine and Covenants 84:14-27
14 Which Abraham received the priesthood from Melchizedek, who received it through the lineage of his fathers, even till Noah;
15 And from Noah till Enoch, through the lineage of their fathers;
16 And from Enoch to Abel, who was slain by the conspiracy of his brother, who received the priesthood by the commandments of God, by the hand of his father Adam, who was the first man—
17 Which priesthood continueth in the church of God in all generations, and is without beginning of days or end of years.
18 And the Lord confirmed a priesthood also upon Aaron and his seed, throughout all their generations, which priesthood also continueth and abideth forever with the priesthood which is after the holiest order of God.
19 And this greater priesthood administereth the gospel and holdeth the key of the mysteries of the kingdom, even the key of the knowledge of God.
20 Therefore, in the ordinances thereof, the power of godliness is manifest.
21 And without the ordinances thereof, and the authority of the priesthood, the power of godliness is not manifest unto men in the flesh;
22 For without this no man can see the face of God, even the Father, and live.
23 Now this Moses plainly taught to the children of Israel in the wilderness, and sought diligently to sanctify his people that they might behold the face of God;
24 But they hardened their hearts and could not endure his presence; therefore, the Lord in his wrath, for his anger was kindled against them, swore that they should not enter into his rest while in the wilderness, which rest is the fulness of his glory.
25 Therefore, he took Moses out of their midst, and the Holy Priesthood also;
26 And the lesser priesthood continued, which priesthood holdeth the key of the ministering of angels and the preparatory gospel;
27 Which gospel is the gospel of repentance and of baptism, and the remission of sins, and the law of carnal commandments, which the Lord in his wrath caused to continue with the house of Aaron among the children of Israel until John, whom God raised up, being filled with the Holy Ghost from his mother’s womb.
So, from the days of Moses until John the average person in the House of Israel could not hold the Melchizedek priesthood and only the sons of Levi were allowed to hold the Aaronic priesthood. Only to those who were very select of the Lord such as his prophets were the only ones who held the Melchizedek priesthood throughout that time. So the sealing power was not had among the children of Israel from the time the Melchizedek priesthood was taken from their midst until Jesus. Thus in answer to the Sadducees' scenario, Jesus taught them that their marriages were not sealed in heaven and under such a condition they would not be married in heaven but be like unto the angel's of God being single in heaven. The sealing or binding power is a key that belongs to the higher Melchizedek priesthood. Only when one holds those keys are they able to bind in heaven whatsoever they bind on earth, including marriage. Marriage must be performed on this earth for they neither marry nor are given in marriage in heaven so the ordinance must be performed here on this earth.