1 Samuel 18:16

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

1 Samuel 18:5

And David went out whithersoever Saul sent him, and behaved himself wisely: and Saul set him over the men of war, and it was good in the sight of all the people, and also in the sight of Saul's servants.

Numbers 27:17

who may go out before them, and who may come in before them, and who may lead them out, and who may bring them in; that the congregation of Jehovah be not as sheep which have no shepherd.

2 Samuel 5:2

In times past, when Saul was king over us, it was thou that leddest out and broughtest in Israel: and Jehovah said to thee, Thou shalt be shepherd of my people Israel, and thou shalt be prince over Israel.

1 Kings 3:7

And now, O Jehovah my God, thou hast made thy servant king instead of David my father: and I am but a little child; I know not how to go out or come in.

Luke 19:48

and they could not find what they might do; for the people all hung upon him, listening.

Luke 20:19

And the scribes and the chief priests sought to lay hands on him in that very hour; and they feared the people: for they perceived that he spake this parable against them.

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 whithersoever Saul sent him, and behaved himself wisely: and Saul set him over the men of war, and it was good in the sight of all the people, and also in the sight of Saul's servants.
Luke 19:48
and they could not find what they might do; for the people all hung upon him, listening.
Luke 20:19
And the scribes and the chief priests sought to lay hands on him in that very hour; and they feared the people: for they perceived that he spake this parable against them.

He went

Numbers 27:17
who may go out before them, and who may come in before them, and who may lead them out, and who may bring them in; that the congregation of Jehovah be not as sheep which have no shepherd.
2 Samuel 5:2
In times past, when Saul was king over us, it was thou that leddest out and broughtest in Israel: and Jehovah said to thee, Thou shalt be shepherd of my people Israel, and thou shalt be prince over Israel.
1 Kings 3:7
And now, O Jehovah my God, thou hast made thy servant king instead of David my father: and I am but a little child; I know not how to go out or come in.

American Standard Version Public Domain