The prophet Gad said to David, Don't stay in the stronghold; depart, and get you into the land of Judah. Then David departed, and came into the forest of Hereth.
So the one escaped to David from the house of Ahimelech, and David felt really responsible for the death of all of those families. He knew that he made a mistake in letting this Doeg go. He should've killed him. "