David said to Abiathar, I knew on that day, when Doeg the Edomite was there, that he would surely tell Saul: I have occasioned [the death] of all the persons of your father's house.
Conversely, when people submit to God’s authority over them, they really begin to live (John 10:10). David submitted to God’s authority over him. His sins, including deceiving Ahimelech, bore bad consequences for himself and others. Nevertheless God continued to bless and use David. He blessed him personally: David continued to rise to the throne. God also blessed him by using him to accomplish God’s will, here the pruning of Eli’s descendants.