 Rav Nachman said that during the days of David, they were sometimes successful and sometimes not (getting an answer from the Urim and Thummim), for Zadok consulted it and succeeded, while Abiathar consulted it and was not successful, as reports, "And Abiathar went up.