Donald Juel here identifies passages from the Old Testament that were deemed to refer to the Messiah even before Jesus of Nazareth was born:
Such “messianic texts” (i.e., acknowledged by a broad spectrum of Jewish groups as references to the coming king from the line of David) include Gen. 49:10- 12; Num. 24:17; 2 Sam. 7:10-14; Zech. 6:12; Isaiah 11; Jeremiah 33; Psalm 2.
Donald Juel. Messianic Exegesis (p. 193). Kindle Edition.