Whatever mission Saul sent him on, David was so successful that Saul gave him a high rank in the army. This pleased all the troops, and Saul’s officers as well.
References for 1 Samuel 18:5
When the men were returning home after David had killed the Philistine, the women came out from all the towns of Israel to meet King Saul with singing and dancing, with joyful songs and with timbrels and lyres.
References for 1 Samuel 18:6
As they danced, they sang: “Saul has slain his thousands, and David his tens of thousands.”
References for 1 Samuel 18:7
Saul was very angry; this refrain displeased him greatly. “They have credited David with tens of thousands,” he thought, “but me with only thousands. What more can he get but the kingdom?”
References for 1 Samuel 18:8
And from that time on Saul kept a close eye on David.
References for 1 Samuel 18:9
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
References for 1 Samuel 18:10
and he hurled it, saying to himself, “I’ll pin David to the wall.” But David eluded him twice.
References for 1 Samuel 18:11
Saul was afraid of David, because the LORD was with David but had departed from Saul.
References for 1 Samuel 18:12
So he sent David away from him and gave him command over a thousand men, and David led the troops in their campaigns.
References for 1 Samuel 18:13
In everything he did he had great success, because the LORD was with him.
References for 1 Samuel 18:14
When Saul saw how successful he was, he was afraid of him.
But all Israel and Judah loved David, because he led them in their campaigns.
References for 1 Samuel 18:16