Both Ahaz and Hezekiah were kings of Judah. They both lived in uncertain days with ongoing conflict in and around them. Because Judah was comparatively speaking not a “big dog” country, when facing stronger nations interesting in overthrowing Judah, the temptation was to form and alliance with another county who would agree to fight for you or pay the threatening nation a tribute.