1 Samuel 18:9-15 NIV
And from that time on Saul kept a close eye on David.
The next day an evil spirit from God came forcefully on Saul. He was prophesying in his house, while David was playing the lyre, as he usually did. Saul had a spear in his hand and he hurled it, saying to himself, “I’ll pin David to the wall.” But David eluded him twice.
Saul was afraid of David, because the LORD was with David but had departed from Saul. So he sent David away from him and gave him command over a thousand men, and David led the troops in their campaigns. In everything he did he had great success, because the LORD was with him. When Saul saw how successful he was, he was afraid of him.
NIV: New International Version