1 Samuel 18:12-15 New King James Version (NKJV)

12. Now Saul was afraid of David, because the Lord was with him, but had departed from Saul.

13. Therefore Saul removed him from his presence, and made him his captain over a thousand; and he went out and came in before the people.

14. And David behaved wisely in all his ways, and the Lord was with him.

15. Therefore, when Saul saw that he behaved very wisely, he was afraid of him.

1 Samuel 18