1 Samuel 28:14-18
English Standard Version
15Then Samuel said to Saul, "Why have you disturbed me by bringing me up?" Saul answered, "I am in great distress, for the Philistines are warring against me, and God has turned away from me and answers me no more, either by prophets or by dreams. Therefore I have summoned you to tell me what I shall do."
16And Samuel said, "Why then do you ask me, since the Lord has turned from you and become your enemy?
17The Lord has done to you as he spoke by me, for the Lord has torn the kingdom out of your hand and given it to your neighbor, David.
18Because you did not obey the voice of the Lord and did not carry out his fierce wrath against Amalek, therefore the Lord has done this thing to you this day.