1 Samuel 30:6-8
David was greatly distressed because the men were talking of stoning him; each one was bitter in spirit because of his sons and daughters. But David found strength in the Lord his God. Then David said to Abiathar the priest, the son of Ahimelek, “Bring me the ephod.” Abiathar brought it to him, and David inquired of the Lord, “Shall I pursue this raiding party? Will I overtake them? “Pursue them,” he answered. “You will certainly overtake them and succeed in the rescue.”
1 Samuel 30:22-23
But all the evil men and troublemakers among David’s followers said, “Because they did not go out with us, we will not share with them the plunder we recovered. However, each man may take his wife and children and go.” David replied, “No, my brothers, you must not do that with what the Lord has given us. He has protected us and delivered into our hands the raiding party that came against us.
New International Version (NIV)