2 Samuel 5:2

2 In the past, while Saul was king over us, you were the one who led Israel on their military campaigns. And the LORD said to you, ‘You will shepherd my people Israel, and you will become their ruler.’ ”

Read 2 Samuel 5:2 Using Other Translations

Also in time past, when Saul was king over us, thou wast he that leddest out and broughtest in Israel: and the LORD said to thee, Thou shalt feed my people Israel, and thou shalt be a captain over Israel.
In times past, when Saul was king over us, it was you who led out and brought in Israel. And the LORD said to you, 'You shall be shepherd of my people Israel, and you shall be prince over Israel.'"
In the past, when Saul was our king, you were the one who really led the forces of Israel. And the LORD told you, ‘You will be the shepherd of my people Israel. You will be Israel’s leader.’”