What text are the chief priests and teachers of the law quoting?
Matthew 2:6 (ESV)
6“‘And you, O Bethlehem, in the land of Judah, are by no means least among the rulers of Judah;for from you shall come a ruler who will shepherd my people Israel.’”
The chief priests and teachers of the law referred to Micah 5:2, not quoting the words of the prophet exactly as known from the Hebrew Bible or the Greek translation of the Old Testament.
6 “‘And you, O Bethlehem, in the land of Judah, are by no means least among the rulers of Judah; for from you shall come a ruler who will shepherd my people Israel.’”