# Yahweh the God of Ahaz gave him into the hand of the king of Aram
"Yahweh the God of Ahaz enabled the king of Aram to defeat Ahaz". Judah was defeated by all of the neighboring countries because King Ahaz was worshiping all sorts of foreign gods.
# carried away from him
"carried away from Ahaz's army"
# Ahaz was also given into the hand of the king of Israel who defeated him
"Yahweh also enabled the king of Israel to defeat Ahaz"