← Psalms — A Complete ReviewAFJ Study BibleHome

Psalm 23

The Lord Is My Shepherd — The Good, the Bad, the Ugly, and a Beautiful Result

Notes from a sermon by Pastor Chris Berg (June 21, 2026) · compiled by Hollis McGehee · aimingforjesus.com

Find This Study By

Scripture: Psalm 23; 2 Samuel 12–18 (background)

Book: Psalms (Old Testament)

Topics: The Lord Is My Shepherd, Trust, God’s Provision, Fear, Comfort in Trials, Goodness and Mercy, Heaven, Family Trouble, Consequences of Sin, Assurance of Salvation, Jesus the Good Shepherd

People: David, Absalom, Amnon, Tamar, Jonadab, Nathan, Joab, Ittai, Zadok, Abiathar, Ziba, Mephibosheth, Hushai, Ahithophel, Shobi, Machir, Barzillai, Stonewall Jackson, Jesus

Related passages: John 10:11; Psalm 34:10; 2 Samuel 16:14; Revelation 7:17; Psalm 19:7; Proverbs 3:5–6; 2 Samuel 17:16; Ephesians 6:10; 2 Samuel 17:27–29; Psalm 16:5; Psalm 27:4; John 14:2; 2 Samuel 12:10; 2 Samuel 13–17; John 20:31; 2 Samuel 3:3; 2 Samuel 18:5; Psalm 3

The Passage (ESV)

1 The LORD is my shepherd; I shall not want.

2 He makes me lie down in green pastures. He leads me beside still waters.

3 He restores my soul. He leads me in paths of righteousness for his name’s sake.

4 Even though I walk through the valley of the shadow of death, I will fear no evil, for you are with me; your rod and your staff, they comfort me.

5 You prepare a table before me in the presence of my enemies; you anoint my head with oil; my cup overflows.

6 Surely goodness and mercy shall follow me all the days of my life, and I shall dwell in the house of the LORD forever.

The Big Picture

Psalm 23 is David’s song of trust in the LORD as his Shepherd. It moves from the green pastures and still waters of God’s care (verses 1–3), through the dark valley where God is closest (verse 4), to a banquet table and a home in God’s house forever (verses 5–6). Halfway through, David stops talking about God and starts talking to Him. This study reads the psalm alongside David’s flight from his son Absalom (2 Samuel 13–17), where each line of the psalm was lived out.

A note on the setting: Pastor Chris reads Psalm 23 against the Absalom crisis. The psalm’s own heading says only “A Psalm of David,” so we cannot be certain when he wrote it; Matthew Henry, for example, allows that it may even come from before David became king. But the connection is a fruitful one: Psalm 3 is headed “A Psalm of David, when he fled from Absalom his son,” and the journey in 2 Samuel 15–17 — tears on the Mount of Olives, rest at the Jordan, danger in the valley, a feast at Mahanaim — fits Psalm 23 line by line. Whenever David wrote it, he wrote as a man who had lived it.

The Dark Background: Nathan’s Prophecy and David’s Household

From the sermon “Psalm 23 — The Good, the Bad, the Ugly, and a Beautiful Result,” preached by Pastor Chris Berg on June 21, 2026. Hollis McGehee organized these notes from a recording and a written summary. They follow Pastor Chris’s line of thought but are summarized, not word for word. Points marked “Pastor Chris Berg:” under the verses come from the full sermon recording.

After David committed adultery with Bathsheba and had her husband Uriah murdered, the prophet Nathan gave this word from the Lord to David, rebuking him for his sin: “Now therefore the sword shall never depart from your house, because you have despised me and have taken the wife of Uriah the Hittite to be your wife” (2 Samuel 12:10). Before David’s actions with Bathsheba, his house with all his heirs ran smoothly. David was a warrior king, but his home was peaceful. That all changed after his sin. From that time on, God told David that the sword would never depart from his house.

The account that follows in 2 Samuel results from David’s sin with Bathsheba, as Nathan prophesied: David’s domestic life would have many trials in which many horrendous actions would occur. It is the dark background to the light of Psalm 23. King David had a difficult relationship with his son Absalom. This is not a Father’s Day message, even though it was preached on Father’s Day and is about a father and his sons. It only seems like one because we are giving the background necessary to understand Psalm 23 better. Pastor Chris said he is not an artist, but he has learned that if you want something to shine bright, you put it against a dark background. Just so, these dark events are the backdrop to the light of David’s great declaration in the Psalm.

The Family Crisis: Amnon and Tamar (2 Samuel 13). “Now Absalom, David’s son, had a beautiful sister, whose name was Tamar. And after a time Amnon, David’s son, loved her” (2 Samuel 13:1). Notice who is at the center: Absalom. Tamar was David’s daughter too, but the account is already built around Absalom. Amnon was infatuated with his half-sister Tamar, and he made himself sick over her. Amnon had no way of getting to Tamar because she was kept with the young women not yet given in marriage in the palace, always with a chaperone. Amnon’s friend, who also happened to be his cousin, Jonadab, came up with a plan to have Amnon be alone with the beautiful Tamar, instructing Amnon to pretend to be very sick so that King David would send Tamar to cook for him. David agreed, broke the normal palace custom, and sent Tamar to Amnon’s house.

When Tamar brought food to Amnon in his chamber, “he took hold of her and said to her, ‘Come, lie with me, my sister.’ She answered him, ‘No, my brother, do not violate me, for such a thing is not done in Israel; do not do this outrageous thing. As for me, where could I carry my shame? And as for you, you would be as one of the outrageous fools in Israel. Now therefore, please speak to the king, for he will not withhold me from you.’ But he would not listen to her, and being stronger than she, he violated her and lay with her” (2 Samuel 13:11–14). She was saying, if you want to marry me, your father will arrange this. Tamar showed great strength and moral integrity. To say that Amnon had low character would be an understatement.

Instead of feeling remorse and repenting of his heinous actions, he cast her aside with contempt: “Then Amnon hated her with very great hatred, so that the hatred with which he hated her was greater than the love with which he had loved her” (2 Samuel 13:15). Obviously, he did not really love her; it was lust. The beautiful, principled Tamar spent the rest of her life in desolation in her brother Absalom’s home.

2 Samuel 13:21–22 records the fallout: “When King David heard of all these things, he was very angry. But Absalom spoke to Amnon neither good nor bad, for Absalom hated Amnon, because he had violated his sister Tamar.” King David was very angry, but we are not told that he did anything. Absalom stayed very neutral outwardly, but he lived by the idea that vengeance is a dish best served cold.

Absalom’s Revenge (2 Samuel 13:23–39). A full two years later, Absalom took his revenge on Amnon. Just as Amnon used King David as an unwitting pawn, Absalom would do the same. Absalom invited all the king’s sons to a sheep-shearing celebration at Baal-hazor (a yearly work party with food and celebration, something like a barn raising), pressing David until David sent Amnon as his representative. 2 Samuel 13:28 records his plan: “Then Absalom commanded his servants, ‘Mark when Amnon’s heart is merry with wine, and when I say to you, “Strike Amnon,” then kill him. Do not fear; have I not commanded you? Be courageous and be valiant.’” Absalom’s plan worked perfectly. Amnon was dead. Tamar was avenged.

After having Amnon killed, Absalom fled to Geshur, to Talmai the king of Geshur, his mother’s father (2 Samuel 3:3; 13:37), and stayed there three years. The word that best describes the relationship between David and Absalom is complicated. There would have been resentment, frustration, abandonment, guilt, and blame. Why did David do nothing after Tamar was violated? Is he still angry? Why no contact? David loved Absalom, but Absalom had murdered another of his sons, and there were politics too: if revenge outside the law is allowed in the palace, murder becomes a defense. David had to navigate personal, family, national, and political realities all at once. Absalom was confused; David was conflicted.

After three years, David had Absalom return to Jerusalem, but 2 Samuel 14:24 records: “And the king said, ‘Let him dwell apart in his own house; he is not to come into my presence.’ So Absalom lived apart in his own house and did not come into the king’s presence.” David brought him back but did not welcome him back, keeping him away for two more years. David and Absalom had not spoken in five years.

2 Samuel 14:32–33 records Absalom’s ultimatum: “Absalom answered Joab, ‘Behold, I sent word to you, “Come here, that I may send you to the king, to ask, ‘Why have I come from Geshur? It would be better for me to be there still.’ Now therefore let me go into the presence of the king, and if there is guilt in me, let him put me to death.”’” Absalom forced the issue, even setting Joab’s barley field on fire to get his attention (2 Samuel 14:30). He had finally had enough: either welcome me back or kill me, but this being in limbo is done. He came before David, and David welcomed him back after those five years. The king kissed Absalom.

Absalom Steals the Hearts of Israel (2 Samuel 15). Absalom had become bitter toward his father over the last seven years. He now had his own agenda and began to turn the people against David. He got himself “a chariot and horses, and fifty men to run before him” (2 Samuel 15:1). 2 Samuel 15:2–6 describes his strategy: “And Absalom used to rise early and stand beside the way of the gate. And when any man had a dispute to come before the king for judgment, Absalom would call to him and say, ‘From what city are you?’ And when he said, ‘Your servant is of such and such a tribe in Israel,’ Absalom would say to him, ‘See, your claims are good and right, but there is no man designated by the king to hear you.’ Then Absalom would say, ‘Oh that I were judge in the land! Then every man with a dispute or cause might come to me, and I would give him justice.’ And whenever a man came near to pay homage to him, he would put out his hand and take hold of him and kiss him. Thus Absalom did to all of Israel who came to the king for judgment. So Absalom stole the hearts of the men of Israel.” He did this for four years.

Absalom was the most admired man in Israel for his looks (2 Samuel 14:25), with hair so thick that he weighed it when he cut it once a year (14:26). He looked capable, had a lot of charm, seemed to feel people’s pain, showed them honor, and seemed so humble. Absalom was a gifted politician, ruthlessly patient (two years waiting to kill Amnon, four years working the gate), and willing to get down and dirty to accomplish his goals. Pastor Chris compared his display at the gate to the way Washington, D.C., was laid out to impress visiting dignitaries. His goal was to overthrow his father and be the new king of Israel. With the hearts of the nation on his side, he made his play: an attempted coup against King David. Coups do not end in agreement. Someone is going to die. Absalom was in his prime and David was past his; when Absalom started his coup, David was the odds-on favorite to lose the battle.

David’s Exile: Living the Reality of Psalm 23. A messenger came to David, saying, “The hearts of the men of Israel have gone after Absalom” (2 Samuel 15:13). David said to all his servants: “Arise, and let us flee, or else there will be no escape for us from Absalom. Go quickly, lest he overtake us quickly and bring down ruin on us and strike the city with the edge of the sword” (2 Samuel 15:14). This was not a well-thought-out plan of escape; it was spur of the moment: no time to prepare, leave or die. Even so, David was thinking of the people: leaving the city might spare Jerusalem a bloodbath. During this exodus David described their situation as one of wandering, with no idea where he was going. He sent the ark of the covenant back to Jerusalem with the priests Zadok and Abiathar. (David’s struggle and the rest of the journey are placed with the verses below.)

A Word About the Commentary

Commentary offered not as authoritative but as a view of the verse drawn from the scriptures presented, other scriptures, and various commentaries. If these thoughts do not line up with the Word then they must be rejected. It is my belief and prayer they are consistent with the Word and are offered as a simple teaching on the Word and as every teaching on the Word each must be carefully compared with the one true and living Word of God.

— Hollis McGehee

Verse 1

ESV The LORD is my shepherd; I shall not want.

AMP The LORD is my Shepherd [to feed, to guide and to shield me], I shall not want.

NLT The LORD is my shepherd; I have all that I need.

Sermon Notes

Key Hebrew Words

Cross References (ESV)

Commentary

David had been a shepherd boy, so he knew exactly what a good shepherd does: he feeds, guides, protects and stays with the flock. Now he says the LORD Himself is that shepherd, and he says it personally: “my shepherd.” Because the Shepherd is faithful, the sheep will not lack anything they truly need. This is not a promise that we will get everything we want, but that we will never be without what God knows we need.

Matthew Henry:
“Let not those fear starving that are at God’s finding and have him for their feeder.” (Commentary on the Whole Bible, Psalm 23:1)

Verse 2

ESV He makes me lie down in green pastures. He leads me beside still waters.

AMP He lets me lie down in green pastures; He leads me beside the still and quiet waters.

NLT He lets me rest in green meadows; he leads me beside peaceful streams.

Sermon Notes

Key Hebrew Words

Cross References (ESV)

Commentary

Sheep will not lie down when they are hungry, afraid or restless. The shepherd has to make it possible. God does the same for His people: He brings us to places of rest and feeds us, often when we do not know how badly we need it. The “still waters” are quiet, safe waters where a sheep can drink without being swept away. Rest is not laziness here; it is a gift from the Shepherd.

Matthew Henry:
“God’s ordinances are the green pastures in which food is provided for all believers; the word of life is the nourishment of the new man.” (Commentary on the Whole Bible, Psalm 23:2)

Verse 3

ESV He restores my soul. He leads me in paths of righteousness for his name’s sake.

AMP He refreshes and restores my soul (life); He leads me in the paths of righteousness for His name’s sake.

NLT He renews my strength. He guides me along right paths, bringing honor to his name.

Sermon Notes

Key Hebrew Words

Cross References (ESV)

Commentary

“He restores my soul” means God brings us back and renews us when we are worn out or have wandered. He then leads us on right paths, the ways that please Him. The reason is striking: “for his name’s sake.” God guides His people because His own good name and faithfulness are at stake. We can trust His leading, not because we are so reliable, but because He is.

Matthew Henry:
“Though God may suffer his people to fall into sin, he will not suffer them to lie still in it.” (Commentary on the Whole Bible, Psalm 23:3)

Verse 4

ESV Even though I walk through the valley of the shadow of death, I will fear no evil, for you are with me; your rod and your staff, they comfort me.

AMP Even though I walk through the [sunless] valley of the shadow of death, I fear no evil, for You are with me; Your rod [to protect] and Your staff [to guide], they comfort and console me.

NLT 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.

Sermon Notes

Key Hebrew Words

Cross References (ESV)

Commentary

The valley is dark and dangerous, but notice two things. First, David walks through it; he does not stay there. Second, this is the moment the psalm changes from talking about God (“he”) to talking to God (“you”). In the darkest place, the Shepherd is closest. The rod protects against enemies, and the staff guides and steadies the sheep. God’s presence does not remove every danger, but it removes the reason to fear.

Matthew Henry puts David’s settled confidence this way: “Having had such experience of God’s goodness to me all my days, in six troubles and in seven, I will never distrust him, no, not in the last extremity.” (Commentary on the Whole Bible, Psalm 23:4)

Matthew Henry:
“A child of God may meet the messengers of death, and receive its summons with a holy security and serenity of mind.” (Commentary on the Whole Bible, Psalm 23:4)

Verse 5

ESV You prepare a table before me in the presence of my enemies; you anoint my head with oil; my cup overflows.

AMP You prepare a table before me in the presence of my enemies. You have anointed and refreshed my head with oil; My cup overflows.

NLT 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.

Sermon Notes

Key Hebrew Words

Cross References (ESV)

Commentary

The picture shifts from shepherd to host. In the ancient world, a host who welcomed you to his table was bound to protect you. God spreads a full meal for His servant while enemies can only watch. Anointing the head with oil was a sign of welcome, honor and refreshment. The cup is not just filled but overflowing. God’s care is not stingy; He gives more than enough, even in hard places.

Matthew Henry:
“Plentiful provision is made for their bodies, for their souls, for the life that now is and for that which is to come.” (Commentary on the Whole Bible, Psalm 23:5)

Verse 6

ESV Surely goodness and mercy shall follow me all the days of my life, and I shall dwell in the house of the LORD forever.

AMP Surely goodness and mercy and unfailing love shall follow me all the days of my life, And I shall dwell forever [throughout all my days] in the house and in the presence of the LORD.

NLT 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 forever.

Sermon Notes

Key Hebrew Words

Cross References (ESV)

Commentary

David had been chased by enemies, but now he sees who is really following him: God’s goodness and steadfast love. The Hebrew word for “follow” often means to pursue or chase. God’s love does not trail behind lazily; it pursues His people every day of their lives. And the journey ends at home, in the house of the LORD. For the believer, that hope reaches beyond this life into God’s presence forever.

Matthew Henry:
“His hope rises, and his faith is strengthened, by being exercised.” (Commentary on the Whole Bible, Psalm 23:6)

The Good Shepherd: Jesus Christ

Chances are nobody is ever going to seek your life. But this Psalm is just as real for us. It is the lessons David learned, communicated to us through the Psalm, so that we will understand that the Lord is also our shepherd, if you have trusted Christ as your Savior.

Here is what Jesus had to say in John 10:11: “I am the good shepherd. The good shepherd lays down his life for the sheep.” Life is a perilous journey. We are born sinners, separated from God, wandering and spiritually blind. Just as David attributed to the Lord the provision for his journey, Jesus is saying, “I am the provision for life, and I lay down my life for the sheep.”

In Revelation 7, a question is asked about those who were saved during the tribulation and martyred for their faith. It says: “They shall hunger no more, neither thirst anymore; the sun shall not strike them, nor any scorching heat. For the Lamb in the midst of the throne will be their shepherd, and he will guide them to springs of living water, and God will wipe away every tear from their eyes” (Revelation 7:16–17). By trusting in the work of Jesus Christ (His death, and His resurrection proving that God the Father was satisfied with that payment for sin), all those who have trusted in the name of the Lord will be saved and will be with Him for all eternity.

The Lamb is the Shepherd. Jesus is seated at the Father’s right hand, He will return and keep every promise, and He will make a new heaven and a new earth. If you do not know the Lord as your Savior, you are a sheep in a different flock, and you cannot yet say, “I shall dwell in the house of the LORD forever.”

John wrote in his Gospel: “but these are written so that you may believe that Jesus is the Christ, the Son of God, and that by believing you may have life in his name” (John 20:31). You can know it. If you do not know it, why not make today the day? And if you have already trusted Christ as your Savior, let us grow in our confidence as David grew in his through this journey: “The LORD is my shepherd, and I shall dwell in the house of the LORD forever.”

Closing prayer (Pastor Chris Berg, summarized): Pastor Chris closed by thanking God that He is our good Father and the pattern for what fathers are meant to be; thanking Him that David went through such hard things so that he could write what he wrote and conclude rightly, giving us the same confidence — “The LORD is my shepherd; I shall not want” and “I shall dwell in the house of the LORD forever”; and confessing that this rests not on any goodness in us but on Jesus Christ, who paid for our sins and satisfied God’s just demands, so that we are declared righteous by grace through faith. He prayed in the name of our great Shepherd, the Chief Shepherd, Jesus Christ.

Commands, Warnings, and Promises

Questions for Reflection

  1. David could say “The LORD is my shepherd” with confidence only after walking through his hardest season. Looking back, where can you now see the Shepherd’s care in a season that felt uncertain at the time?

  2. God provided for David through unexpected people, even former enemies at Mahanaim. Who has God used to “prepare a table” for you, and is there someone you could refresh this week?

  3. In the dark valley, David turned from talking about God to talking to God: “for you are with me.” What valley are you facing right now, and how would it change things to speak to the Shepherd directly about it?

More on this at Aiming for Jesus

Scripture quotations marked ESV are from the ESV® Bible (The Holy Bible, English Standard Version®), © 2001 by Crossway. Used by permission. All rights reserved. Scripture quotations marked AMP are from the Amplified® Bible, © 2015 by The Lockman Foundation. Used by permission. Scripture quotations marked NLT are from the Holy Bible, New Living Translation, © 2015 by Tyndale House Foundation. Used by permission. Matthew Henry quotations are from Matthew Henry’s Commentary on the Whole Bible (1706, public domain).

← Psalms — A Complete ReviewAFJ Study BibleHome