Hebrew Bible

Numbers 24:17

15 Then he uttered this oracle: “The oracle of Balaam son of Beor,the oracle of the man whose eyes are open, 16 the oracle of the one who hears the words of God,and who knows the knowledge of the Most High,who sees a vision from the Almighty,although falling flat on the ground with eyes open: 17 ‘I see him, but not now; I behold him, but not close at hand. A star will march forth out of Jacob, and a scepter will rise out of Israel. He will crush the skulls of Moab, and the heads of all the sons of Sheth. 18 Edom will be a possession, Seir, his enemy, will also be a possession; but Israel will act valiantly. 19 A ruler will be established from Jacob; he will destroy the remains of the city.’”

Date: 5th Century B.C.E. (Final composition)
* Dates are based on scholarly estimates
New Testament

Matthew 2:2

1 After Jesus was born in Bethlehem in Judea, in the time of King Herod, wise men from the East came to Jerusalem 2 saying, “Where is the one who is born king of the Jews? For we saw his star when it rose and have come to worship him.3 When King Herod heard this he was alarmed, and all Jerusalem with him. 4 After assembling all the chief priests and experts in the law, he asked them where the Christ was to be born.

Date: 70-90 C.E.
* Dates are based on scholarly estimates