The great King David of ancient Israel said, “The Lord is my shepherd.” Psalms 23:1 Being a shepherd, taking care of His father’s sheep from boyhood up, David understood very well what He was speaking of when He spoke these words. David was saying, the Lord is to me what I am to my sheep.
David took care of these sheep by day and by night. Suddenly, a bear came to attack the flock. David killed the bear with his own hands. Again, a lion was trying to steal his sheep and he killed the lion with his own hands, facing death squarely. David had a jealous love over those sheep and he was willing to put his life on the line for them.
No wonder David trusted the Lord when King Saul was hunting him to kill him. He knew the Lord was his Shepherd and that the Lord himself would rise up and fight for him. There was a bond of trust between David and the Lord who was his good Shepherd that would last a life time.
Even when David sinned that terrible sin by having a man killed and then taking his wife, David received the correction from the Good Shepherd and repented of His sin and was restored.
God said of David, “I have found David the Son of Jesse, a man after mine own heart, which shall fulfil all my will.” Acts 13:22