It was David who wrote Psalm 23 and the interesting thing is that David himself was a shepherd boy.
Psalms 23:The LORD is my shepherd;
I have all that I need.
2 He lets me rest in green meadows;
he leads me beside peaceful streams.
3 He renews my strength.
He guides me along right paths,
bringing honor to his name.
4 Even when I walk
through the darkest valley,
I will not be afraid,
for you are close beside me.
Your rod and your staff
protect and comfort me.
5 You prepare a feast for me
in the presence of my enemies.
You honor me by anointing my head with oil.
My cup overflows with blessings.
6 Surely your goodness and unfailing love will pursue me
all the days of my life,
and I will live in the house of the LORD
1. You have to take the Lord as your Shepherd because He will lead you, and guide you. VRs 2b
2. You have to take the Lord as you Shepherd because He will protect you, never forsaking you or leaving you. Vrs 4
3. You have to take the Lord as your Shepherd because He will anoint you and bless you. Vrs 5c