Doeg's most grievous transgression, however, was his informing against the priests of Nob, whom he accused of high treason and executed as traitors. For all his iniquitous deeds he pressed the law into his service, and derived justification of his conduct from it. Abimelech, the high priest at Nob, admitted that he had consulted the Urim and Thummim for David. This served Doeg as the basis for the charge of treason, and he stated it as an unalterable Halakah that the Urim and Thummim may be consulted only for a king.

In vain Abner and Amasa and all the other members of the Sanhedrin demonstrated that the Urim and Thummim may be consulted for any on whose undertaking concerns the general welfare. Doeg would not yield, and as no one could be found to execute the judgement, he himself officiated as hangman. When the motive of revenge actuated him, he held cheap alike the life and honor of his fellow-man. He succeeded in convincing Saul that David's marriage with the king's daughter Michal had lost its validity from the moment David was declared a rebel.

As such, he said, David was as good as dead, since a rebel was outlawed. Hence his wife was no longer bound to him. Doeg's punishment accorded with his misdeeds. He who had made impious use of his knowledge of the law, completely forgot the law, and even his disciples rose up against him, and drove him from the house of study. In the end he died a leper.