When Herod the king had heard these things
That is, the report made by the wise men of the appearance of an unusual star, and of the birth of the king of the Jews, which they affirmed with all certainty, without any hesitation,
he was troubled, and all Jerusalem with him.
Herod was troubled, his mind was disturbed and made uneasy, fearing he should be deposed, and lose his kingdom, to which he knew he had no just right and claim, being a foreigner; and "all Jerusalem", i.e. all the inhabitants of Jerusalem, who heard of this, were also troubled, and showed a concern at it with him; either feignedly, as knowing his jealousy, suspicion and cruelty; or in reality, because of tumults, commotions and wars, they might fear would arise upon this, having lost the true notion of the Messiah, as a spiritual king, saviour and redeemer. And hereby was fulfilled, in part, the famous prophecy in ( Genesis 49:10 ) according to the sense of one F23 of the Targumists on it, who paraphrases it after this manner;
``Kings and governors shall not cease from the house of Judah, nor scribes, who teach the law, from his seed, until the time that the king Messiah, the least of his sons, comes, "and because of him", (aymme Nwomyty) , "the people shall melt."''that is, they shall be distressed and troubled, their hearts shall melt like wax within them; which was their present case, though perhaps the paraphrast may design the Gentiles.
F23 Jonathan ben Uzziel in loc.