Based on Luke Jesus will inherit David's throne, however, Jehoiakim descendants can Not sit on David's throne as he is cursed by God.
Jeremiah 36:30 Therefore this is what the LORD says about Jehoiakim king of Judah: He will have no one to sit on the throne of David; his body will be thrown out and exposed to the heat by day and the frost by night.
Luke 1:32 - 32 He shall be great, and shall be called the Son of the Highest: and the Lord God shall give unto him the throne of his father David:
The below confirm lineage of David to Jehoiakim.
1 Chronicles 3 (Sons of David) The Kings of Judah 10 Solomon’s son was Rehoboam, Abijah his son, Asa his son, Jehoshaphat his son, 11 Jehoram[d] his son, Ahaziah his son, Joash his son, 12 Amaziah his son, Azariah his son, Jotham his son, 13 Ahaz his son, Hezekiah his son, Manasseh his son, 14 Amon his son, Josiah his son. 15 The sons of Josiah: Johanan the firstborn, Jehoiakim the second son, Zedekiah the third, Shallum the fourth. 16 The successors of Jehoiakim: Jehoiachin[e] his son, and Zedekiah.
Matthew 1:1-11, "Josiah was the father of Jehoiachin and his brothers (born at the time of the exile to Babylon)."
Luke 1:27 To a virgin espoused to a man whose name was Joseph, of the house of David; and the virgin’s name was Mary. does not mention Mary lineage to David
Note: Shealtiel (son of Jehoiakim) & Zerubbabel (grandson of Jehoiakim) in both & Zerubbabel sons Abiud (in Matt) & Rhesa (in Luke) so even if Luke is related to Mary line arguably a descendant of Jehoiakim.