Read 1 Samuel 18:5 Using Other Translations
And David went out whithersoever Saul sent him, and behaved himself wisely: and Saul set him over the men of war, and he was accepted in the sight of all the people, and also in the sight of Saul's servants.
And David went out and was successful wherever Saul sent him, so that Saul set him over the men of war. And this was good in the sight of all the people and also in the sight of Saul's servants.
Whatever Saul asked David to do, David did it successfully. So Saul made him a commander over the men of war, an appointment that was welcomed by the people and Saul’s officers alike.