The book of Isaiah show a familiar pattern, Israel and Ahaz live against God's good laws, God calls them to repent, they don't, and God allows their sin to be punished. Despite this repeated pattern beginning with Adam, God has always had a plan, and his plan is to save his children through the bruising of his Son.