Later, Jehoshaphat king of Judah made an alliance with Ahaziah king of Israel, who acted wickedly.