1 Samuel 16:13-23

13 Samuel took the flask of olive oil and anointed David in the presence of his brothers. The LORD's Spirit came over David and stayed with him from that day on. Then Samuel left for Ramah.
14 Now, the LORD's Spirit had left Saul, and an evil spirit from the LORD tormented him.
15 Saul's officials told him, "An evil spirit from God is tormenting you.
16 Your Majesty, why don't you command us to look for a man who can play the lyre well? When the evil spirit from God comes to you, he'll strum a tune, and you'll feel better."
17 Saul told his officials, "Please find me a man who can play well and bring him to me."
18 One of the officials said, "I know one of Jesse's sons from Bethlehem who can play well. He's a courageous man and a warrior. He has a way with words, he is handsome, and the LORD is with him."
19 Saul sent messengers to Jesse to say, "Send me your son David, who is with the sheep."
20 Jesse took six bushels of bread, a full wineskin, and a young goat and sent them with his son David to Saul.
21 David came to Saul and served him. Saul loved him very much and made David his armorbearer.
22 Saul sent [this message] to Jesse, "Please let David stay with me because I have grown fond of him."
23 Whenever God's spirit came to Saul, David took the lyre and strummed a tune. Saul got relief [from his terror] and felt better, and the evil spirit left him.