Matthew 2:7-8

Then Herod called the Magi secretly and found out from them the exact time the star had appeared. He sent them to Bethlehem and said, “Go and search carefully for the child. As soon as you find him, report to me, so that I too may go and worship him.”

Matthew 2:16-18

When Herod realized that he had been outwitted by the Magi, he was furious, and he gave orders to kill all the boys in Bethlehem and its vicinity who were two years old and under, in accordance with the time he had learned from the Magi. 17 Then what was said through the prophet Jeremiah was fulfilled:

18 “A voice is heard in Ramah,
    weeping and great mourning,
Rachel weeping for her children
    and refusing to be comforted,
    because they are no more.”