1 Samuel 18:16

But all Israel and Judah loved David because he went out and came in before them.

1 Samuel 18:5

And David went out wherever Saul sent him and behaved himself prudently, 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 slaves.

Numbers 27:17

who may go out before them, and who may go in before them, and who may lead them out and who may bring them in that the congregation of the LORD not be as sheep without a shepherd.

2 Samuel 5:2

And even yesterday and the day before yesterday, when Saul was king over us, it was thou that didst lead out and bring in Israel; and the LORD said to thee, Thou shalt feed my people Israel, and thou shalt be prince over Israel.

1 Kings 3:7

And now, O LORD my God, thou hast made thy slave king instead of David my father; and I am but a tender young man; I do not know how to go out or come in.

Luke 19:48

and could not find what they might do, for all the people were very attentive to hear him.

Luke 20:19

And the princes of the priests and the scribes the same hour sought to lay hands on him, for they perceived that he had spoken this parable against them; but they feared the people.

Treasury of Scripture Knowledge

Summary

But all Israel and Judah loved David, because he went out and came in before them.

Bible References

All israel

1 Samuel 18:5
And David went out wherever Saul sent him and behaved himself prudently, 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 slaves.
Luke 19:48
and could not find what they might do, for all the people were very attentive to hear him.
Luke 20:19
And the princes of the priests and the scribes the same hour sought to lay hands on him, for they perceived that he had spoken this parable against them; but they feared the people.

He went

Numbers 27:17
who may go out before them, and who may go in before them, and who may lead them out and who may bring them in that the congregation of the LORD not be as sheep without a shepherd.
2 Samuel 5:2
And even yesterday and the day before yesterday, when Saul was king over us, it was thou that didst lead out and bring in Israel; and the LORD said to thee, Thou shalt feed my people Israel, and thou shalt be prince over Israel.
1 Kings 3:7
And now, O LORD my God, thou hast made thy slave king instead of David my father; and I am but a tender young man; I do not know how to go out or come in.