Through the prophet Jeremiah, 627 - 580 B.C., God indicated that some of Israel's children would be killed at the coming of the Messiah. Josephus indicates in his writings which are recorded in the Antiquities of the Jews
. 17.6.5 that this event did occur
. Therefore, we can conclude that this prophecy occurred near the time of Jesus' birth.