Afterward, King Jehoshaphat of Judah allied himself with King Ahaziah of Israel, thereby acting wickedly.