From the outset, Matthew enables the reader to recognise Messiah by citing a whole series of Messianic prophecies and carefully noting their fulfilment. The first seventeen verses chart the genealogy of Jesus through David and Abraham which are essential in establishing Messianic credentials.
Matthew often states something has been fulfilled or quotes the passage or prophet to make his points perfectly clear. In Matthew 1:22-23 he mentions the virgin birth as spoken by the Lord through the prophet and that His name shall be called Immanuel (Isaiah 7:14).
Then in Matthew 2:5-6 when the Magi are seeking the King of the Jews, the chief priests and scribes quote Micah 5:2 (Micah 5:1) in Tanakh, which states that the One to rule Israel will come from the tribe of Bethlehem Ephrathah, from the Tribe of Judah. This small village is located approximately 5 miles south of Jerusalem and Judah is one of the twelve tribes which narrows down the potential list of Messianic candidates.
Next, to escape the massacre of the innocents, Joseph, Mary and Jesus fled to Egypt according to the prophet (Hosea 11:1). Great suffering and slaughter of the young children occurred fulfilling the words of Jeremiah (Matthew 2:17-18; Jeremiah 31:15). They then returned and settled in Nazareth (Matthew 2:23; Isaiah 9:1-6).
Isaiah foretold that Messiah would be preceded by a messenger to prepare the way (Isaiah 40:3) and this is exactly what happened through John the Baptist (Matthew 3:1). So far, we have seen from His miraculous birth to the commencement of His ministry, Jesus perfectly fulfilled the Scriptures.