The lineage of Christ that enables Him to sit on the throne comes through Mary, not Joseph.
One of Joseph’s ancestors, Jehoiachin, was cursed that no descendent of his would ever sit on the throne. (Jeremiah 22:30)
1 Chron. 17:11 And it shall come to pass, when thy days be expired that thou must go to be with thy fathers, that I will raise up thy seed after thee, which shall be of thy sons; and I will establish his kingdom. 12 He shall build me an house, and I will stablish his throne for ever. 13 I will be his father, and he shall be my son: and I will not take my mercy away from him, as I took it from him that was before thee: 14 But I will settle him in mine house and in my kingdom for ever: and his throne shall be established for evermore.
Joseph was also of the lineage of David.
Luke 2:4 And Joseph also went up from Galilee, out of the city of Nazareth, into Judaea, unto the city of David, which is called Bethlehem; (because he was of the house and lineage of David:)
Jesus was a blood relative of Marys, and therefore of the house of David. When Joseph married Mary, Jesus became his legal son and therefore entered the Royal line. Now He was of the house and lineage of David. But since He and Joseph were not biologically related, He escaped the blood curse. Thus Jesus became the only man since 600 BC qualified to become the King of Israel and sit on Davids throne, something Gabriel had promised to Mary (Luke 1:32-33) and that will be fulfilled in the Millennium.
No, you are posting fables. Josephs ancestor was Jeconiah, the brother of Jehoiachin whose father was also Josiah.
"and Josiah the father of Jeconiah and his brothers at the time of the exile to Babylon. After the exile to Babylon: Jeconiah was the father of Shealtie" Mat 11, 12