God pronounced a blood curse on the royal family of Judah in Jeremiah 22:
Is this man Coniah a despised, broken pot,
a vessel no one cares for?
Why are he and his children hurled and cast
into a land that they do not know?
O land, land, land,
hear the word of the Lord!
Thus says the Lord:
“Write this man down as childless,
a man who shall not succeed in his days,
for none of his offspring shall succeed
in sitting on the throne of David
and ruling again in Judah.
This is the same Coniah (Jechoniah) that shows up in Matthew’s genealogy of Christ:
and Josiah the father of Jechoniah and his brothers, at the time of the deportation to Babylon…and Jacob the father of Joseph the husband of Mary, of whom Jesus was born, who is called Christ.
Of course, Joseph is only Jesus’ legal father, but still the inheritance comes down through the father and Joseph’s line has been cursed. In step the daughters of Zelophehad.
The names of his daughters were: Mahlah, Noah, Hoglah, Milcah, and Tirzah. And they stood before Moses and before Eleazar the priest and before the chiefs and all the congregation, at the entrance of the tent of meeting, saying, “Our father died in the wilderness. He was not among the company of those who gathered themselves together against the Lord in the company of Korah, but died for his own sin. And he had no sons. Why should the name of our father be taken away from his clan because he had no son? Give to us a possession among our father’s brothers.”
Moses brought their case before the Lord. And the Lord said to Moses,”The daughters of Zelophehad are right. You shall give them possession of an inheritance among their father’s brothers and transfer the inheritance of their father to them. And you shall speak to the people of Israel, saying, ‘If a man dies and has no son, then you shall transfer his inheritance to his daughter.
and in Numbers 36:
And every daughter who possesses an inheritance in any tribe of the people of Israel shall be wife to one of the clan of the tribe of her father, so that every one of the people of Israel may possess the inheritance of his fathers.
Mary is an heiress to the line of David also, but through Nathan, Solomon’s brother, thus bypassing the blood curse and allowing Gabriel to say to Mary,
“Do not be afraid, Mary, for you have found favor with God. And behold, you will conceive in your womb and bear a son, and you shall call his name Jesus. He will be great and will be called the Son of the Most High. And the Lord God will give to him the throne of his father David, and he will reign over the house of Jacob forever, and of his kingdom there will be no end.”