Another thing to worry about. The scripture says (Proverbs 26:26), "His malice may be concealed by deception, but his wickedness will be exposed in the assembly." Rabbi Chayyah said, "We publicize the hypocrites to prevent desecration of God's name," as it is written (Ezekiel 3:20), "And when a righteous person turns away from his righteousness and commits injustice, he shall die for it; for the injustice that he has committed, he shall die."
Why does God block his path? To publicize his actions to people, so that nothing bad happens to him due to his sins, and so that people call him to account against the measure of justice. For this reason, God wanted to publicize the actions of those who slander their fellow human beings. We learn this from Doeg, who was the head of the Sanhedrin, as it is written (1 Samuel 21:8), "Doeg the Edomite, the chief of Saul's shepherds."
Although he had the Torah, he still spoke evil, so the scripture publicized his actions so that people would know not to seek revenge against him, and so that they would call him to account before God. That is why the scripture called him "Edomite," after the name of his city. Rabbi Shmuel said it was because he was jealous of David and was called "Admoni." Not only was he jealous, but his entire tribe was jealous of him, including the Ziphites, the men of Keilah, and the Nabals.
Rabbi Abba bar Kahana said it was because he permitted the killing of the people of Nov, the city of the priests, as it is written (1 Samuel 22:18), "And Doeg the Edomite turned and struck down the priests and killed on that day eighty-five persons who wore the linen ephod." Rav Nachman said it was because he permitted the shedding of David's blood. He told Saul that he and his blood were permissible, and his wife was permissible to marry another.
Bar Kappara said that he forbade the shedding of Agag's blood to Saul. And he said to him, "It is written in the Torah (Leviticus 22:28), 'You shall not slaughter an animal and its offspring on the same day.' And yet you are going to kill young and old, infants and women, all in one day. Therefore, it is said, 'Edomite,' because of the obligation incurred by him."
Rabbi Yitzhak said that David's face turned red with embarrassment at this halachic ruling, as anyone who engages with him is removed from his responses. Rabbi Hanina said, "Just as Edom swallows the merits of Israel, so he worries about swallowing the merits of David." And our rabbis, may their memory be blessed, said, "Just as Edom seeks revenge and bears a grudge, so he seeks revenge and bears a grudge against David."