Desperate, Ahaz ransacked The Temple of God, the royal palace, and every other place he could think of, scraping together everything he could, and gave it to the king of Assyria - and got nothing in return, not a bit of help.
But King Ahaz didn't learn his lesson - at the very time that everyone was turning against him, he continued to be against God!
He offered sacrifices to the gods of Damascus. He had just been defeated by Damascus; he thought, "If I worship the gods who helped Damascus, those gods just might help me too." But things only went from bad to worse: first Ahaz in ruins and then the country.
He cleaned out The Temple of God of everything useful and valuable, boarded up the doors of The Temple, and then went out and set up pagan shrines for his own use all over Jerusalem.
And not only in Jerusalem, but all over Judah - neighborhood shrines for worshiping any and every god on sale. And was God ever angry!
The rest of Ahaz's infamous life, all that he did from start to finish, is written in the Royal Annals of the Kings of Judah and Israel.
When Ahaz died, they buried him in Jerusalem, but he was not honored with a burial in the cemetery of the kings. His son Hezekiah was the next king.