And the Philistines gathered themselves together, and came and pitched in Shunem: and Saul gathered all Israel together, and they pitched in Gilboa. And when Saul saw the host of the Philistines, he was afraid, and his heart greatly trembled. And when Saul enquired of the LORD, the LORD answered him not, neither by dreams, nor by Urim, nor by prophets.
Then said Saul unto his servants, “Seek me a woman that hath a familiar spirit, that I may go to her, and enquire of her.” And his servants said to him, “Behold, there is a woman that hath a familiar spirit at Endor.” And Saul disguised himself, and put on other raiment, and he went, and two men with him, and they came to the woman by night: and he said, “I pray thee, divine unto me by the familiar spirit, and bring me up, whom I shall name unto thee.” And the woman said unto him, “Behold, thou knowest what Saul hath done, how he hath cut off those that have familiar spirits, and the wizards, out of the land: wherefore then layest thou a snare for my life, to cause me to die?” And Saul sware to her by the LORD, saying, “As the LORD liveth, there shall no punishment happen to thee for this thing.”
Then said the woman, “Whom shall I bring up unto thee?” And he said, “Bring me up Samuel.” And when the woman saw Samuel, she cried with a loud voice: and the woman spake to Saul, saying, “Why hast thou deceived me? For thou art Saul.” And the king said unto her, “Be not afraid: for what sawest thou?” And the woman said unto Saul, “I saw gods ascending out of the earth.” And he said unto her, “What form is he of?” And she said, “An old man cometh up; and he is covered with a mantle.” And Saul perceived that it was Samuel, and he stooped with his face to the ground, and bowed himself. And Samuel said to Saul, “Why hast thou disquieted me, to bring me up?” And Saul answered, “I am sore distressed; for the Philistines make war against me, and God is departed from me, and answereth me no more, neither by prophets, nor by dreams: therefore I have called thee, that thou mayest make known unto me what I shall do.”
Then said Samuel, “Wherefore then dost thou ask of me, seeing the LORD is departed from thee, and is become thine enemy? And the LORD hath done to him, as he spake by me: for the LORD hath rent the kingdom out of thine hand, and given it to thy neighbour, even to David: because thou obeyedst not the voice of the LORD, nor executedst his fierce wrath upon Amalek, therefore hath the LORD done this thing unto thee this day. Moreover the LORD will also deliver Israel with thee into the hand of the Philistines: and to morrow shalt thou and thy sons be with me: the LORD also shall deliver the host of Israel into the hand of the Philistines.” 1 Samuel 28:4-19
References: 1 Samuel 28:1-25; Psalm 66:18; Isaiah 57:20-21; Acts 16:14-18