1 Samuel 18:10-16 ESV
The next day a harmful spirit from God rushed upon Saul, and he raved within his house while David was playing the lyre, as he did day by day. Saul had his spear in his hand. And Saul hurled the spear, for he thought, “I will pin David to the wall.” But David evaded him twice.
Saul was afraid of David because the LORD was with him but had departed from Saul. So Saul removed him from his presence and made him a commander of a thousand. And he went out and came in before the people. And David had success in all his undertakings, for the LORD was with him. And when Saul saw that he had great success, he stood in fearful awe of him. But all Israel and Judah loved David, for he went out and came in before them.
ESV: English Standard Version 2016