Now the king of Israel and Jehoshaphat the king of Judah were sitting each on his throne, arrayed in their robes, and they were sitting at the threshing floor at the entrance of the gate of Samaria; and all the prophets were prophesying before them.