1 Samuel 16:13-14
16:13 So Samuel took the horn full of olive oil and anointed him in the presence of his brothers. The Spirit of the Lord rushed upon David from that day onward. Then Samuel got up and went to Ramah.
David Appears before Saul
16:14 Now the Spirit of the Lord had turned away from Saul, and an evil spirit from the Lord tormented him.