2 Sam 5:2

5:2 led out and brought in Israel. An idiom for leading military campaigns (1 Sam. 18:13, 16). The second reason for wanting to make David king was his military success (1 Sam. 17:32, 45–47; 18:7; 25:28).

the Lord said to you. The third reason is David’s divine appointment (1 Sam. 16:1 note).

shepherd. This designation is often used metaphorically in the Bible, either for God (Gen. 49:24; Ps. 23:1; 80:1; etc.), for His Son Jesus (John 10:11; Heb. 13:20; 1 Pet. 5:4; Rev. 7:17; etc.), or for divinely appointed human leaders (7:7; Num. 27:15–17; etc.). The image is one of intimate, caring leadership (v. 12 note).