After this Jehoshaphat king of Judah joined with Ahaziah king of Israel, who acted wickedly.