Matthew 2:4-5.
“And when he had gathered all the chief priests and scribes of the people together, he demanded of them where Christ should be born. And they said unto him, in Bethlehem of Judæa.”
Do you see how all things are done to convict the Jews? How, as long as He was out of their sight, the envy had not yet laid hold of them, and they rehearsed the testimonies of Him with truth; but when they saw the glory that arose from the miracles, a grudging spirit possessed them, and thenceforth they betrayed the truth.
However, the truth was exalted by all things, and strength was the more gathered for it even by its enemies. See for example in this very case, how wonderful and beyond expectation are the results secretly provided for. For both the barbarians and the Jews do the same time alike learn something more of one another, and teach one another. Thus the Jews, for their part, heard from the wise men, that a star also had proclaimed Him in the land of the Persians; the wise men, in their turn, were informed by the Jews that this Man, whom the star proclaimed, prophets also had made known from a long time of old. And the ground of their inquiry was made to both an occasion of setting forth clearer and more perfect instruction; and the enemies of the truth are compelled even against their will to read the writings in favor of the truth, and to interpret the prophecy; although not all of it. For having spoken of Bethlehem, and how that out of it He shall come that should rule Israel, they proceed not afterwards to add what follows, out of flattery to the king. And what was this? That “His goings forth are from of old, from everlasting.”
Source: Homilies on the Gospel of St. Matthew (New Advent)