Later, Jehoshaphat king of Judah made an alliance with Ahaziah king of Israel, whose ways were wicked.