Isaiah 8 and 9 speak of the taking of Israel by Assyria. Isaiah is told to encourage the people’s faith. God is with them. He is the one to fear, not Assyria. Unfortunately many will stumble and fall. Some will ask Isaiah to take the counsel of other gods. God will send them into darkness.
But the people who walk in darkness will have light shine upon them for the heir of David will come and will uphold justice. Again, we read prophecy that relates to Jesus
God is angry with the people of Israel and Judah for their lack of faith but even still his hand is stretched out.
Psalm 102 is a prayer form one who is suffering and in pain, dealing with from punishment from the Lord. He recognizes God’s provision and pleads that God will deal mercifully with him.