1 Samuel 18:16

But all Israel and Judah loved David, because he publicly associated with them.

1 Samuel 18:5

So David went out wherever Saul sent him, and he acted wisely and prospered; and Saul appointed him over the men of war. And it pleased all the people and also Saul’s servants.

Numbers 27:17

who will go out and come in before them, and will lead them out and bring them in, so that the congregation of the Lord will not be as sheep without a shepherd.”

2 Samuel 5:2

In times past, when Saul was king over us, it was you who led Israel out [to war] and brought Israel in [from battle]. And the Lord told you, ‘You shall shepherd My people Israel and be ruler over them.’”

1 Kings 3:7

So now, O Lord my God, You have made Your servant king in place of David my father; and as for me, I am but a little boy [in wisdom and experience]; I do not know how to go out or come in [that is, how to conduct business as a king].

Luke 19:48

and they could not find anything that they could do, for all the people [stayed close to Him and] were hanging on to every word He said.

Luke 20:19

The scribes and the chief priests tried to [find a way to] arrest Him at that very hour, but they were afraid of the people; because they understood that He spoke 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
So David went out wherever Saul sent him, and he acted wisely and prospered; and Saul appointed him over the men of war. And it pleased all the people and also Saul’s servants.
Luke 19:48
and they could not find anything that they could do, for all the people [stayed close to Him and] were hanging on to every word He said.
Luke 20:19
The scribes and the chief priests tried to [find a way to] arrest Him at that very hour, but they were afraid of the people; because they understood that He spoke this parable against them.

He went

Numbers 27:17
who will go out and come in before them, and will lead them out and bring them in, so that the congregation of the Lord will not be as sheep without a shepherd.”
2 Samuel 5:2
In times past, when Saul was king over us, it was you who led Israel out [to war] and brought Israel in [from battle]. And the Lord told you, ‘You shall shepherd My people Israel and be ruler over them.’”
1 Kings 3:7
So now, O Lord my God, You have made Your servant king in place of David my father; and as for me, I am but a little boy [in wisdom and experience]; I do not know how to go out or come in [that is, how to conduct business as a king].