Later in his life, Jehoshaphat, king of Judah, allied himself with Ahaziah, king of Israel, who did wicked things.