Another analogy is of someone who was walking on the road and someone was chasing him with a weapon. The pursued person escaped and was saved from his hand. Another person tried to catch him before he could get away, but he also escaped. However, before he could completely get away, a third person came to catch him and started shouting, "Save me from his hand!"
This is what happened to David when Saul was chasing him. God performed a miracle and saved him from Saul's hand, as it is written (1 Samuel 19:18-20), "And David fled and escaped... And when Saul sent messengers to take him, he said, 'He is sick.'... And Saul sent messengers to see David, saying, 'Bring him up to me in the bed, that I may slay him.'
And when the messengers were come in, behold, there was an image in the bed, with a pillow of goats' hair for his bolster." As soon as David escaped, he was worried and said to Saul (1 Samuel 22:9-10), "I have seen the son of Jesse coming to Nob... and Ahimelech gave him provisions." God said to him, "Perhaps he gave him from your provisions? Didn't he give him the bread of the Presence which belongs to me?"
David replied, "And didn't he give him Goliath's sword?" God said to him, "And didn't I provide for him?" Immediately, God shut his mouth, and concerning him it is said (Psalm 31:19), "Let the lying lips be put to silence." Thus, he was saved from worry, but then Ahithophel came.
He began to cry out (2 Samuel 15:31), "O Lord, I pray thee, turn the counsel of Ahithophel into foolishness." When they were saved from all three, he began to sing, as it is written (2 Samuel 22:1), "David spoke to the Lord the words of this song."