After these things, Jehoshaphat, king of Judah, joined himself with Ahaziah, king of Israel, who was given over to wickedness;