Matthew in 2:6 quotes from Micah 5:2 & 4, “And you, Bethlehem, in the land of Judah, are by no means least among the princes of Judah: because out of you will come a ruler who will shepherd My people Israel.”
This quote only quotes part of the verses. Here are both verses in their entirety in Micah, “Bethlehem Ephrathah, you are small among the clans of Judah; yet one will come from you to be ruler over Israel for Me. His origin is from antiquity, from everlasting…He will stand and shepherd them in the strength of the LORD, in the majestic name of ADONAI His God. They will live securely, for then His greatness will extend to the ends of the earth.”
This One to be born in Bethlehem, the Messiah, would be from eternity. In other words, He is God, yet the LORD is His God. Suggesting the Messiah is the Son of God, born in Bethlehem to the family of David. And this Son of David would have a Kingdom that would extend to the ends of the earth.
Even the scholars who were speaking to Herod in Matthew 2 understood that the true King of Israel would come from Bethlehem and that His Kingdom would be greater than any kingdom that the earth has seen. The Magi from the East ascribed this identity to Yeshua, who they had come very far to worship.
So, in this passage we see that the One who would shepherd the people of Israel had to be born in Bethlehem, which the census of Caesar Augustus, arranged by the LORD, made possible. Ha Shem (The Name/The LORD) had this all planned out!
Next verse 15 Matthew says, “Out of Egypt I have called My Son.” When referring to this prophecy from Exodus 4:22 and Hosea 11:1 Matthew is connecting what happened to Israel as God’s firstborn son to the Messiah.
The Messiah was called out of Egypt not because He was redeemed, but so that He could redeem. The Lamb of God had to be called out of the world, which Egypt represents, in order to save the world. He was set apart for this purpose as Ben Yoseph.
He did not go to the mountain to receive the Law but will one day, according to Isaiah 2, teach the Law Himself from Jerusalem as the Living Word. In doing so, He will rule as King as Messiah Ben David.
Then Matthew connects the killing of the babies in Bethlehem by Herod to Jeremiah 31:15. Jeremiah is taking up a lament for the lost children of Rachel. Why Rachel when Bethlehem is the home of David who was a descendant of Leah? It is because Rachel was buried near Bethlehem after she gave birth to Benjamin.
It is as if Rachel is weeping over those young ones who suffered the pain of death at the hand of the tyrant, Herod. What I find interesting about this passage in Jeremiah is that this verse that Matthew uses here comes directly after a prophecy about God returning His people to the land of Israel and giving them great prosperity in the land. It is then followed by the prophecy of Ephraim calling out to the LORD and being restored (returning to God by obedience to Torah – Psalm 19:7). God calls Ephraim His precious son. Rachel is the mother of Ephraim.
So, we see that this passage in Jeremiah is speaking of the loss of children in Bethlehem (from Judah) in the time of Yeshua, but it is also speaking of the return of Ephraim. Again, God will reconnect Ephraim with Judah. It will be the Messiah that returns us all to the land together as one people (Jew and Gentile together as one new man), Israel. What rejoicing that will be!