Matthew 1:22-23 reads:
All this took place to fulfill what the Lord had spoken by the prophet: The virgin will conceive and give birth to a son, and they will call him Immanuel" (which means "God with us").
This texts refers to Isaiah 7:14 and is used by the gospel writer as a prophetic text about Jesus' birth. If we look at the context of the Isaiah passage which includes the beginning of chapter 7 and extends thru chapter 12; will what the gospel writer indicated prove to be based on truth? Lets see!
The story begins with King Ahaz, the king of Judah, finding out his kingdom is under seige by King Rezin of Aram and Pekah, son of Remaliah, king of Israel. Isaiah was sent by God to King Ahaz to tell him to take courage because the would be invaders would fail but that if If Jerusalem did not stand firm in faith, ot would not stand regardless.
King Ahaz, prompted to ask for a sign from the Lord then hears Isaiah tell the people of his kingdom that a young woman/virgin will conceive and give birth to a son, and would be called Immanuel. He then says that before the boy, Immanuel, knows enough to reject wrong and choose right, the land of the two kings that were plotting to come against Jerusalem the people dreaded would be laid waste. Isaiah then goes on to say that the Lord would bring on the king and his people "a time unlike any since Ephraim broke away from Judah—he will bring the king of Assyria.”
We then have the next couple of chapters speaking of the LORDs wrath against His people and how Assyria would be the LORDs intrument to bring about His wrath, a wrath that would eventually pass and become focused on Assyria.
Afterward a remnant of Jacob would return to the Mighty God and a shoot would come up from the stump of Jesse; from his roots a branch would bear fruit. In that day the Root of Jesse would stand as a banner for the peoples and nations would rally to him. And He, would raise a banner for the nations and gather the exiles of Israel, and assemble the scattered people of Judah from the four quarters of the earth. The remnant people, now enpowered would "
swoop down on the slopes of Philistia to the west;
together they will plunder the people to the east. They will subdue Edom and Moab, and the Ammonites would be subject to them." When that was to occur, THAT DAY and at that time, the people would rejoice and give praise to their God saying,
"I will praise you, Lord.
Although you were angry with me,
your anger has turned away
and you have comforted me.
Surely God is my salvation;
I will trust and not be afraid.
The Lord, the Lord himself, is my strength and my defense;
he has become my salvation.”
With joy you will draw water
from the wells of salvation.
In that day you will say:
“Give praise to the Lord, proclaim his name;
make known among the nations what he has done,
and proclaim that his name is exalted.
Sing to the Lord, for he has done glorious things;
let this be known to all the world.
Shout aloud and sing for joy, people of Zion,
for great is the Holy One of Israel among you.”
From this context, it's hard to see why the writer of Matthew would choose to pick chapter 7, verse 14 as a reference to the Christ.