1 Samuel 28 - 29

1 Now it happened in those days that the Philistines gathered their armies together for war, to fight with Israel. And Achish said to David, “You assuredly know that you will go out with me to battle, you and your men.” 2 So David said to Achish, “Surely you know what your servant can do.” And Achish said to David, “Therefore I will make you one of my chief guardians forever.”
3 Now Samuel had died, and all Israel had lamented for him and buried him in Ramah, in his own city. And Saul had put the mediums and the spiritists out of the land. 4 Then the Philistines gathered together, and came and encamped at Shunem. So Saul gathered all Israel together, and they encamped at Gilboa. 5 When Saul saw the army of the Philistines, he was afraid, and his heart trembled greatly. 6 And when Saul inquired of the LORD, the LORD did not answer him, either by dreams or by Urim or by the prophets. 7 Then Saul said to his servants, “Find me a woman who is a medium, that I may go to her and inquire of her.” And his servants said to him, “In fact, there is a woman who is a medium at En Dor.” …
Read more at BlueLetterBible.org