This took place during the reign of Ahaz, son of Jotham, son of Uzziah king of Judah: Rezin king of Aram, along with Pekah, son of Remaliah, king of Israel, waged war against Jerusalem, but he could not succeed.
References for Isaiah 7:1
When it became known to the house of David that Aram had occupied Ephraim, the heart of Ahaz and the hearts of his people trembled like trees of a forest shaking in a wind.
References for Isaiah 7:2
Then the Lord said to Isaiah, "Go out with your son Shear-jashub to meet Ahaz at the end of the conduit of the upper pool, by the road to the Fuller's Field.
Say to him: Calm down and be quiet. Don't be afraid or fainthearted because of these two smoldering stubs of firebrands, Rezin of Aram, and the son of Remaliah.
For Aram, along with Ephraim and the son of Remaliah, has plotted harm against you. They say:
Let us go up against Judah, terrorize it, and conquer it for ourselves. Then we can install Tabeel's son as king in it."
This is what the Lord God says: It will not happen; it will not occur.
The head of Aram is Damascus, the head of Damascus is Rezin (within 65 years Ephraim will be too shattered to be a people),
References for Isaiah 7:8
the head of Ephraim is Samaria, and the head of Samaria is the son of Remaliah. If you do not stand firm in your faith, then you will not stand at all.