1 Samuel 18:6-16

6 It happened as they came, when David returned from the slaughter of the Philistine, that the women came out of all the cities of Israel, singing and dancing, to meet king Saul, with tambourines, with joy, and with instruments of music.  7 The women sang one to another as they played, and said, Saul has slain his thousands, David his ten thousands.  8 Saul was very angry, and this saying displeased him; and he said, They have ascribed to David ten thousands, and to me they have ascribed but thousands: and what can he have more but the kingdom?  9 Saul eyed David from that day and forward.  10 It happened on the next day, that an evil spirit from God came mightily on Saul, and he prophesied in the midst of the house: and David played with his hand, as he did day by day. Saul had his spear in his hand;  11 and Saul cast the spear; for he said, I will strike David even to the wall. David avoided out of his presence twice.  12 Saul was afraid of David, because Yahweh was with him, and was departed from Saul.  13 Therefore Saul removed him from him, and made him his captain over a thousand; and he went out and came in before the people.  14 David behaved himself wisely in all his ways; and Yahweh was with him.  15 When Saul saw that he behaved himself very wisely, he stood in awe of him.  16 But all Israel and Judah loved David; for he went out and came in before them.