Behold, the virgin shall be with child, and bear a Son, and they shall call His name Immanuel,” which is translated, “God with us.”This is actually a quote from Isaiah 7:14, and the verse in that context meant something different than the way that Matthew is using it here. But this is okay, because Jesus ads more meaning and significance not only to all things in life, but to Scripture and it’s fulfillment as well.
This Scriptures reminds us that God cares about us, and even though we have rebelled against Him, He took the initiative to restore the relationship, and return to us.
In the context of Isaiah 7, King Ahaz is getting some very bad news, the the enemy nation of Assyria is coming down upon them, and will destroy them. But God tells King Ahaz through Isaiah that a remnant will be rescued (Isaiah 9:3), and that even in the midst of defeat and judgment, God is with His people.
When we are going through times of hardship and trial, we can remember that God has sent to us Jesus Christ, Immanuel, which reminds us that God is with us, and He will never leave us nor forsake us (Heb 13:5).