One good answer is that the particular group who wrote that section of the gospels–it doesn’t appear in all of them–really wanted to connect Jesus to King David and Bethlehem, but everyone knows Jesus is from Nazareth. So they stick this convoluted census story in there to have a reason for Jesus to be born in Bethlehem instead of Nazareth.
Specifically from the prophecy from Micah
2But you, O Bethlehem of Ephrathah,
who are one of the little clans of Judah,
from you shall come forth for me
one who is to rule in Israel,
whose origin is from of old,
Contextually, the entire book is one prophecy being given in the face of the Assyrian occupation (which was brought on by Ahaz begging for help.) Micah says that a figure will come from Bethlehem- because that’s where David is from.
The key points are:
they’re a descendent of David
they will liberate Judah.
The israelites that were taken as slaves/captives will be returned
the people of Judah will come back to being righteous as a kingdom. (AKA stop sending treasure from the temples as tribute to the Assyrians.)
These are things that Hezekiah has done, mostly. The prophecy of Micah in general is a sort of justification for Hezekiah’s reign- it was in fact written after he came to the throne and started doing all these things.
Remember that Jesus did none of the messianic things that they’re supposed to have done.
He was never anointed a king by a prophet, and couldn’t have been an heir to david anyways. (his father was god, not joseph)
The temple was rebuilt by zebe-whatshisname; about five hundred years prior. the second temple wasn’t destroyed until after 70 CE, which happens to be around the time the gospels were written.
He didn’t bring any exiles back.
didn’t establish a divine, eternal kingdom in what would be described as the Messianic age,
didn’t bring peace.
and that… is why he rose from the dead and is coming back. he just had to run and get some milk from the grocery store.
Specifically from the prophecy from Micah
Source
Contextually, the entire book is one prophecy being given in the face of the Assyrian occupation (which was brought on by Ahaz begging for help.) Micah says that a figure will come from Bethlehem- because that’s where David is from.
The key points are:
These are things that Hezekiah has done, mostly. The prophecy of Micah in general is a sort of justification for Hezekiah’s reign- it was in fact written after he came to the throne and started doing all these things.
Remember that Jesus did none of the messianic things that they’re supposed to have done.
and that… is why he rose from the dead and is coming back. he just had to run and get some milk from the grocery store.