Someone shared me this explanation:
That the answer may be found in the latter half of the verse. Beginning in verse 22, here is what the passage actually says:
But when he (Joseph) heard that Archelaus was reigning over Judaea in the room of his father Herod, he was afraid to go thither; and being warned of God in a dream, he withdrew into the parts of Galilee, and came and dwelt in a city called Nazareth; that it might be fulfilled which was spoken through the prophets, for he should be called a Nazarene.
As various Bible commentators have noted, that nowhere in the Old Testament did any of the prophets say: “He shall be called a Nazarene”. However, while at first glance the verse might be construed to suggest that some “prophets” (the plural form is significant) suggested that Christ “should be called a Nazarene,” further study shows that this is not the actual intent of the passage at all.
But the plural “through the prophets” is important. It cannot refer to one prophet speaking for all. This plural evidently refers either to the prophetic books in general or to the entire Old Testament. It also shows that no quotation is to follow which will introduce some word that was uttered by several prophets.
Lenski, a great student of the bible suggests that the structure of the Greek involved in the passage under consideration “is not...like our quotation marks, pointing to a direct quotation.” Then, after remarking on the original words, the form in which they occur, and their careful use by Matthew within the passage under consideration, Lenski noted that such construction in the Greek “shuts out not only a direct quotation but also an indirect prophetic utterance.”
What, then, is Matthew’s meaning? The text is saying simply this: Jesus lived in Nazareth not because the prophets had said that He would live in that specific city, but in order to fulfill additional specific things that the prophets had said about Him.
Jesus lived in Nazareth in order to fulfill the prophets; and the evidential reason by which we ourselves can see that his living in Nazareth fulfilled the prophets, is that afterward, due to his having lived there, he was called “the Nazarene.” We may add that even his followers were called “Nazarenes.” Matthew writes nothing occult or difficult. A Nazarene is one who hails from Nazareth. Matthew counts on the ordinary intelligence of his readers, who will certainly know that the enemies of Jesus branded him the “Nazarene,” that this was the name that marked his Jewish rejection and would continue to do so among the Jews. They put into it all the hate and odium possible, extending it, as stated, to his followers. And this is “what was spoken through the prophets.” One and all told how the Jews would despise the Messiah, Psalm 22:6; Isa. 49:7; 53:3; Dan. 9:26; every prophecy of the suffering Messiah, and every reference to those who would not hear him, like Deut. 18:18. The Talmud calls Jesus Yeshu Hannotzri (the Nazarene); Jerome reports the synagogue prayer in which the Christians are cursed as Nazarenes.... Compare Acts 24:5, “sect of the Nazarene,” and Paul’s characterization. If Jesus had been reared in Jerusalem, he could not have been vilified as the Nazarene. It was God who let him grow up in Nazareth and thus furnished the title of reproach to the Jews in fulfillment of all the reproach God had prophesied for the Messiah through the prophets.
What do you think?
(PS: Thanks to Sis Helen for welcoming me here)