King David: His Life, Failures, Faith, and God’s Promise

by Joshua Andreasen | Founder of Unforsaken

David was looking after his father’s sheep when the prophet Samuel came to his family to anoint Israel’s next king. God chose David, but Saul was still on the throne, and David would spend years fleeing from the man he was to succeed. I think we understand David more clearly when we follow those years along with what happened after he became king, because the man who learned to trust God in danger would later need to confess terrible sins of his own.

What Does It Mean That David Was After God’s Heart?

Calling David a man after God’s own heart can sound confusing if we already know that he committed adultery and arranged a man’s death. It becomes even more troubling if we use the description to make those actions seem less serious. God chose David to serve Him, and the same Scriptures that record that choice also tell us how God confronted him when he did wrong. His place in God’s purpose never put him beyond correction.

The main account begins in 1 Samuel 16 and continues through David’s death near the beginning of 1 Kings. We also learn about his reign in 1 Chronicles, especially his arrangements for worship and his preparations for the temple. His psalms give us inspired prayers to read alongside those events. They allow us to hear his dependence on God in danger and his need for mercy when the guilt was his own.

Much later, the apostle Paul spoke about David while explaining how God had brought the Savior, Jesus, from Israel. Paul first recalled Saul, the king who preceded David, and then described God’s choice of his successor:

And when He had removed him, He raised up for them David as king, to whom also He gave testimony and said, “I have found David the son of Jesse, a man after My own heart, who will do all My will.”

Acts 13:22

Saul had been given authority to lead Israel, but he resisted God’s instructions. In 1 Samuel 15, he spared an enemy king and kept the best livestock after God had commanded their destruction. When Samuel confronted him, Saul defended what he had done, blamed the people, and eventually asked Samuel to honor him before Israel’s elders. David was chosen to do God’s will. I understand the description of his heart in relation to that calling and his response to the Lord, rather than as a claim that every decision he would make was right. When we reach the prophet Nathan’s confrontation with David, we will see how plainly God condemned his conduct.

Paul’s sermon also keeps David in his proper place. In Acts 13:36–37, he says that David served his own generation, died, and saw corruption, meaning that his body decayed. Jesus was raised from the dead without seeing that decay. David could serve God’s purpose, but he could not become the everlasting Savior his people needed. The promise concerning his descendants would reach its fulfillment in Someone greater than he was.

The Son Who Was Still With the Sheep

David belonged to a family in Bethlehem. His father was Jesse, whose father was Obed, the son of Boaz and Ruth. That family connection places David within the account of Ruth, the widow whom God provided for through Boaz. By the time Samuel came to Jesse’s home, the LORD had rejected Saul’s continued kingship because of his disobedience and had sent the prophet to anoint one of Jesse’s sons.

Samuel first saw Eliab, David’s older brother, and thought he was looking at the man God had chosen. His appearance seemed to suit the responsibility. God answered that assumption before Samuel went any further:

But the LORD said to Samuel, “Do not look at his appearance or at his physical stature, because I have refused him. For the LORD does not see as man sees; for man looks at the outward appearance, but the LORD looks at the heart.”

1 Samuel 16:7

The correction concerned what Samuel could and could not see. A man’s height and appearance were visible, but they did not establish whether he would listen to God. Saul’s disobedience had already shown the limits of an impressive-looking king. God knew the man He was choosing, and Samuel needed to follow His direction instead of making the decision by what looked right to him.

Jesse brought his sons before Samuel, but the LORD had not chosen any of those present. When Samuel asked whether there were any more, Jesse said that the youngest was still keeping the sheep. Samuel sent for him:

So he sent and brought him in. Now he was ruddy, with bright eyes, and good-looking. And the LORD said, “Arise, anoint him; for this is the one!” Then Samuel took the horn of oil and anointed him in the midst of his brothers; and the Spirit of the LORD came upon David from that day forward. So Samuel arose and went to Ramah.

1 Samuel 16:12-13

Anointing involved pouring oil upon the person God had appointed. David was being set apart for kingship, although he did not immediately begin ruling. Scripture presents him as young but does not give his age at this moment, so I would not assign him a precise age. What the account does emphasize is that the Spirit of the LORD came upon him, while the next verse describes the Spirit departing from Saul.

The Holy Spirit was equipping David for the work God had given him. He is a divine Person, fully God, and His presence cannot be reduced to David acquiring confidence or becoming more ambitious. The Spirit who empowered God’s servants also inspired Scripture and continues to convict people of sin and enable believers to serve the Lord.

David’s earlier work with sheep helps us understand an image he later used in prayer. A shepherd had to lead the flock to food and water and protect it from danger. David knew those responsibilities, yet in Psalm 23 he placed himself among those who needed the LORD’s care:

The LORD is my shepherd; I shall not want. He makes me to lie down in green pastures; He leads me beside the still waters. He restores my soul; He leads me in the paths of righteousness For His name’s sake.

Psalm 23:1-3

I find that to be a necessary confession for someone entrusted with leading others. David could care for sheep and later govern a nation, but neither responsibility made him able to direct his own life apart from God. When I teach His Word, I still need to receive its instruction myself. Being useful to another person does not put me beyond the need to be led and restored.

Why David Went Out to Face Goliath

David began serving in Saul’s court, where he played the harp for the troubled king. In 1 Samuel 17, we meet him coming to the battlefield with food for his brothers. Israel and the Philistines, a neighboring people fighting against them, had assembled their armies. Goliath, the Philistine champion, challenged Israel to send one man to fight him. His size, armor, and weapons made him a frightening opponent, and the Israelite soldiers drew back.

David heard the challenge and asked about the man who would answer it. His words show what troubled him about Goliath’s defiance:

Then David spoke to the men who stood by him, saying, “What shall be done for the man who kills this Philistine and takes away the reproach from Israel? For who is this uncircumcised Philistine, that he should defy the armies of the living God?”

1 Samuel 17:26

David called Goliath uncircumcised because he stood outside Israel’s covenant relationship with God. Circumcision was the physical sign of that relationship. David’s question was about a man defying the army of the living God, so the confrontation involved more than deciding which soldier had the greatest confidence in himself.

When Saul questioned whether someone so young could fight an experienced warrior, David described what had happened while he guarded his father’s sheep. A lion and a bear had threatened the flock, and he had fought them. He explained why those earlier encounters gave him confidence now:

Your servant has killed both lion and bear; and this uncircumcised Philistine will be like one of them, seeing he has defied the armies of the living God.” Moreover David said, “The LORD, who delivered me from the paw of the lion and from the paw of the bear, He will deliver me from the hand of this Philistine.” And Saul said to David, “Go, and the LORD be with you!”

1 Samuel 17:36-37

Notice whom David credited for those deliverances. He had acted to protect the sheep, but he understood that the LORD had preserved him. That was the reason he gave for expecting help against Goliath. Saul allowed him to go, and David tried on the king’s armor before removing it because he had not tested it. He went toward the Philistine with the sling he knew how to use and stones taken from the brook.

Goliath came armed for battle and despised the young man before him. David answered by naming the God on whom he depended and explaining what the victory would make known:

Then David said to the Philistine, “You come to me with a sword, with a spear, and with a javelin. But I come to you in the name of the LORD of hosts, the God of the armies of Israel, whom you have defied. This day the LORD will deliver you into my hand, and I will strike you and take your head from you. And this day I will give the carcasses of the camp of the Philistines to the birds of the air and the wild beasts of the earth, that all the earth may know that there is a God in Israel. Then all this assembly shall know that the LORD does not save with sword and spear; for the battle is the LORD’s, and He will give you into our hands.”

1 Samuel 17:45-47

David struck Goliath in the forehead with a stone from his sling. The Philistine fell, and David used Goliath’s own sword to cut off his head. The enemy who had frightened Israel’s army was defeated by the young man Saul had doubted could face him. David had already explained the purpose: Israel and the nations were to know that the LORD could save without depending on the weapons that made Goliath appear invincible.

I do not think we should turn this account into a promise that confidence will help us achieve any ambition we choose. David had spoken about God’s honor and the deliverance of His people. I do see a pattern that points toward Christ, because one champion won a victory for people who had been unable to defeat their enemy. Jesus, the greater King, gave His life and rose bodily in victory over sin and death. That comparison does not require finding a hidden spiritual meaning for each of David’s five stones.

Jonathan’s Friendship and Saul’s Jealousy

After the victory, Saul kept David with him, and David formed a close friendship with Saul’s son Jonathan. A king’s son might expect to inherit the throne, so David’s growing prominence could have made Jonathan regard him as a rival. Instead, the two men made a covenant, a binding commitment of loyalty to one another:

Then Jonathan and David made a covenant, because he loved him as his own soul. And Jonathan took off the robe that was on him and gave it to David, with his armor, even to his sword and his bow and his belt.

1 Samuel 18:3-4

Jonathan gave David his robe and weapons, and his later words show that he understood David would become king. In 1 Samuel 23:17, he acknowledged that future directly. His friendship was therefore tested by something more serious than whether they enjoyed one another’s company. Being loyal to David meant protecting the man who would receive the position Jonathan might otherwise have expected for himself.

Saul responded very differently. He gave David responsibility in the army, and David’s success brought public praise. When women welcomed the returning soldiers with a song, Saul heard a comparison that offended him:

So the women sang as they danced, and said: “Saul has slain his thousands, And David his ten thousands.” Then Saul was very angry, and the saying displeased him; and he said, “They have ascribed to David ten thousands, and to me they have ascribed only thousands. Now what more can he have but the kingdom?” So Saul eyed David from that day forward.

1 Samuel 18:7-9

Saul began treating David’s success as a threat to his own kingdom. He threw spears at him and then tried to use dangerous military assignments and a marriage arrangement to bring about his death at Philistine hands. Eventually he openly ordered that David be killed. Jonathan spoke to his father in David’s defense, reminded him that David had served him faithfully, and warned David when the danger became plain.

David married Michal, who was Saul’s daughter. When Saul sent men to watch David’s house and kill him, she helped her husband escape through a window. Jonathan also protected him, and David spent time with Samuel after fleeing. The anointing had been real, but it had not made him safe in the king’s presence or given him an immediate path to the throne.

Jonathan asked David to continue showing kindness to his household, and later sought him out while he was hiding from Saul. Scripture says that he strengthened David’s hand in God. I understand that to mean he helped David rely on the Lord and remember what God had promised, even while his own father was trying to destroy him. His commitment would still have a claim on David after Jonathan himself was gone.

Learning to Trust God While Being Hunted

David did not respond faithfully to every danger during those years. At Nob, he went to the priest Ahimelech and claimed that Saul had sent him on a secret assignment. The priest did not know that David was fleeing from the king. He gave him consecrated bread, bread set apart for worship, and David then fled to the Philistine city of Gath. Fear had led David to conceal the truth from a man who was trying to help him.

David later gathered followers at the cave of Adullam. Men in distress, men in debt, and men bitter in spirit came to him, and he became their captain. They moved through wilderness strongholds while Saul pursued them. During that time, Doeg, a servant of Saul who had seen David at Nob, reported the priest’s help to the king. Saul ordered the priests killed, and Doeg carried out the massacre when the king’s guards refused.

Ahimelech’s son Abiathar escaped and brought the news to David. David acknowledged that he had known Doeg might tell Saul and that he bore responsibility for what had happened to the priestly household. Saul and Doeg remained responsible for their own wickedness, but David did not pretend that his deception had been harmless. The courage he had shown before Goliath did not make him incapable of acting out of fear afterward.

His prayers help us understand how he depended on God in these circumstances. Psalm 34 remembers deliverance, and Psalm 63 describes longing for God in a dry land. In Psalm 57, associated with David’s flight from Saul into the cave, he asks for a refuge no hiding place could provide by itself:

Be merciful to me, O God, be merciful to me! For my soul trusts in You; And in the shadow of Your wings I will make my refuge, Until these calamities have passed by.

Psalm 57:1

The image of shelter beneath God’s wings expresses his dependence on the Lord’s protection. David still took practical steps to escape, but the cave could not guarantee that Saul would never find him. He needed the mercy of God while the danger continued.

At En Gedi, that danger appeared to give way to an opportunity. Saul entered the cave where David and his men were hidden. David could have killed him, but he only cut off a corner of Saul’s robe, and even that troubled his conscience. He would not treat the chance to strike as God’s permission to murder the king He had appointed (1 Samuel 24).

David’s response to another man soon showed that this restraint was something he still needed to practice. Nabal was a wealthy flock owner whose shepherds had benefited from the protection of David’s men. When David asked for provisions at shearing time, Nabal insulted him and refused. David took armed men with him, intending to shed blood in response to the insult.

Nabal’s wife Abigail heard what had happened, brought provisions, and appealed to David to stop. She spoke about the guilt he would bring upon himself by taking revenge and reminded him of the future God had for him. David thanked God for her advice and accepted the correction. I think that willingness to listen gives us something concrete to consider when we speak about his heart. He had already begun acting on his anger, but he allowed a truthful warning to turn him back before he carried out the killing (1 Samuel 25).

Later, near Ziph, David entered Saul’s camp with Abishai, one of his men, while the king and his soldiers slept. Abishai offered to kill Saul with a single thrust of the spear. David stopped him and explained why:

But David said to Abishai, “Do not destroy him; for who can stretch out his hand against the LORD’s anointed, and be guiltless?” David said furthermore, “As the LORD lives, the LORD shall strike him, or his day shall come to die, or he shall go out to battle and perish.”

1 Samuel 26:9-10

David entrusted the end of Saul’s reign to God. He would not obtain the throne through assassination, even though Saul was pursuing him unjustly. That does not mean he called Saul’s actions right or returned to live within reach of his violence. He continued to expose the wrong and keep his distance. The reference to the LORD’s anointed describes Saul’s appointment as king; it cannot give a leader immunity from correction or lawful accountability.

Eventually David sought refuge among the Philistines, and their king Achish gave him the town of Ziklag. While David and his men were away, Amalekite raiders burned the town and carried off their families. The men returned to find their homes destroyed and their wives and children missing. They wept until they had no strength left, and some spoke of stoning David.

In that crisis, David strengthened himself in the LORD and asked whether he should pursue the raiders. After receiving direction to go, he and his men pursued them and recovered those who had been taken. The account places his appeal to God before the recovery. He could not repair the disaster simply by being the captain everyone had followed (1 Samuel 30).

Some men had been too exhausted to continue the pursuit and had stayed with the supplies. After the victory, certain fighters wanted to exclude them from the recovered spoil, allowing them only their wives and children. David refused their demand. Since the LORD had preserved them and given them the victory, he would not let the stronger men treat it as their private achievement. Those who stayed with the supplies were to share with those who went into battle.

How David Became King of All Israel

Saul and Jonathan died in battle against the Philistines. David had lost both the king who hunted him and the friend who protected him, but he did not celebrate their deaths. His lament honored their place in Israel and gave particular expression to his grief for Jonathan:

I am distressed for you, my brother Jonathan; You have been very pleasant to me; Your love to me was wonderful, Surpassing the love of women.

2 Samuel 1:26

I understand David’s comparison within the covenant loyalty we have already seen, rather than as a description of a sexual relationship. Jonathan had defended him when his own father wanted him dead, and he had accepted that David would receive the kingdom. The words express David’s grief for a friend whose love had endured that cost.

David then asked the LORD where he should go, and God directed him to Hebron, a city in Judah. The people of Judah, the tribe to which David belonged, anointed him king. He was thirty years old when he began to reign. The other tribes did not immediately join them. Abner, who had commanded Saul’s army, made Saul’s son Ishbosheth king, and rival claims divided the nation.

David ruled from Hebron for seven years and six months before becoming king over all Israel. Those years included violence he refused to reward. In fighting between the two sides, Abner killed Asahel, the brother of David’s commander Joab. Joab later killed Abner in revenge, even after Abner had begun arranging for the tribes to acknowledge David. David mourned Abner and refused to treat that murder as a legitimate way to secure his rule.

Two men then murdered Ishbosheth and brought his head to David, apparently expecting approval for removing his rival. David condemned their crime. The promise that he would rule did not make every action that advanced his position acceptable. When all Israel finally came to him at Hebron, the elders appealed to his relationship with them and to what the LORD had said:

Then all the tribes of Israel came to David at Hebron and spoke, saying, “Indeed we are your bone and your flesh. Also, in time past, when Saul was king over us, you were the one who led Israel out and brought them in; and the LORD said to you, ‘You shall shepherd My people Israel, and be ruler over Israel.'”

2 Samuel 5:1-2

David made a covenant with the elders before the LORD, and they anointed him king. Their words described the nation as God’s people whom David was to shepherd. He had been entrusted with their care. That responsibility helps us judge his later actions, because a king appointed to protect the people had no permission to use them for his own desires.

Bringing the Ark to Jerusalem

After capturing Jerusalem, David made it the center of his rule. He also wanted to bring the ark of the covenant there. The ark was the sacred chest associated with God’s presence among Israel, and it contained the tablets of the covenant He had given through Moses. It was not ordinary royal property that David could move however he pleased.

On the first attempt, the ark was placed on a cart. When the oxen stumbled, a man named Uzzah reached out and took hold of it, and God struck him dead. David became afraid to continue bringing it to Jerusalem. It remained at the home of Obed-Edom for three months, and the LORD blessed that household (2 Samuel 6:1–11).

1 Chronicles 15 explains the correction that followed. The Levites, descendants of Levi whom God had set apart for sanctuary service, were to carry the ark with its poles on their shoulders. David acknowledged that the earlier attempt had failed to seek God according to His appointed order. The next procession therefore joined obedience with celebration:

And so it was, when those bearing the ark of the LORD had gone six paces, that he sacrificed oxen and fatted sheep. Then David danced before the LORD with all his might; and David was wearing a linen ephod.

2 Samuel 6:13-14

The linen ephod was a garment worn in the setting of worship. David rejoiced openly before the LORD, but Michal, his wife and Saul’s daughter, despised what she saw and later criticized him. David answered by acknowledging the God who had chosen him to rule. His royal position did not make him too important to rejoice before the One who had given it.

I think the two attempts to move the ark need to be read together. David’s desire to honor God had not excused ignoring His instructions the first time. Once those instructions were followed, reverence did not require suppressing joy. The people could celebrate the arrival of the ark while treating God’s holiness as seriously as He had commanded.

The House God Promised to David

David was living in a royal house while the ark remained within a tent, and he wanted to build a permanent house for the LORD. Nathan, the prophet who advised him, initially encouraged the plan. That night, however, God gave Nathan a different message. David would not be the one to build the temple. God would instead make a house for David, meaning a line of descendants who would rule after him:

since the time that I commanded judges to be over My people Israel, and have caused you to rest from all your enemies. Also the LORD tells you that He will make you a house. “When your days are fulfilled and you rest with your fathers, I will set up your seed after you, who will come from your body, and I will establish his kingdom. He shall build a house for My name, and I will establish the throne of his kingdom forever.

2 Samuel 7:11-13

The promise has both a near fulfillment and a reach beyond the next reign. David’s son Solomon would build the temple, and the surrounding verses explain that a disobedient son could receive God’s discipline. Yet God’s commitment to David’s royal line was not limited to the length of Solomon’s life. The LORD continued:

And your house and your kingdom shall be established forever before you. Your throne shall be established forever.

2 Samuel 7:16

Psalm 89 recalls that covenant, the binding promise God had made. Isaiah 9:6–7 speaks of unending government and peace on David’s throne, and Jeremiah 23:5–6 promises a righteous Branch from David’s family, a coming King who will govern justly. Those passages explain why the promise could not end with a succession of mortal kings who eventually died.

The angel Gabriel later applied it to Jesus when he spoke to Mary about the Son she would bear. I understand the promised kingdom as a real kingdom under David’s greater Son. Christ reigns now, and He will return bodily to establish His righteous rule openly on earth. His kingdom will never end. The study on the Davidic Covenant examines those promises in greater detail, but the central connection is already here: God would bring the everlasting King through David’s family.

David also had a promise of his own to keep. Jonathan had asked him to continue showing kindness to his household. In 2 Samuel 9, David asked whether any member of Saul’s family remained to whom he could show kindness for Jonathan’s sake. The Hebrew word hesed, used in this setting, describes loyal kindness expressed toward someone to whom a commitment has been made.

Jonathan’s son Mephibosheth was still alive. He had been injured as a child and was disabled in both feet, and he was living away from Jerusalem. David brought him to court, restored the land that had belonged to Saul, and gave him a continuing place at the king’s table. Jonathan’s death had not erased the commitment David made to his family.

Mephibosheth belonged to the family of the former king, which could have made him seem like a possible rival. David received him because he remembered his promise to Jonathan. I see a limited comparison with the grace we receive through Christ, where our welcome rests on Him rather than our ability to make ourselves worthy. I would not turn every detail of Mephibosheth’s disability or circumstances into a separate symbol of salvation.

What David Did to Bathsheba and Uriah

The king who kept his promise to Jonathan later used his authority to take what belonged to another man. In 2 Samuel 11, David stayed in Jerusalem while his army went out to battle. He saw a woman bathing, asked who she was, and learned that she was Bathsheba, the wife of Uriah, one of his soldiers. He sent for her and slept with her despite knowing that she was married.

When Bathsheba told him she was pregnant, David recalled Uriah from the fighting and urged him to go home. If Uriah had slept with his wife, the child could have been passed off as his. Uriah refused because the ark, the army, and his fellow servants were remaining in the field. David even made him drunk, but he still would not go home. The soldier would not take the comfort his king was urging upon him while his companions remained exposed to danger.

We are told what David asked, whom he summoned, and what he ordered. The passage does not give us a plan by Bathsheba to seduce him. I cannot move the responsibility away from the man whose choices the account records. When David could not conceal the pregnancy through Uriah’s return home, he sent a written order to Joab, his army commander:

And he wrote in the letter, saying, “Set Uriah in the forefront of the hottest battle, and retreat from him, that he may be struck down and die.”

2 Samuel 11:15

Uriah carried the letter containing the order for his own death. Joab placed him where the fighting was dangerous, and Uriah died along with other servants of David. The fact that enemy soldiers carried out the killing did not remove the king’s responsibility for arranging it. David had used the army he was supposed to lead to destroy a faithful man serving in it.

After Bathsheba mourned her husband, David took her as his wife. That marriage did not make the preceding adultery and murder disappear. The chapter ends by telling us how the LORD regarded what he had done:

And when her mourning was over, David sent and brought her to his house, and she became his wife and bore him a son. But the thing that David had done displeased the LORD.

2 Samuel 11:27

Nathan then came to David with a parable. A rich man with many flocks took the only lamb belonging to a poor man so that he could feed a visitor without using one of his own. David became angry and pronounced judgment on the rich man. Nathan then told him, “You are the man.” David could recognize the wrong when he thought he was judging someone else, but the parable brought him face to face with his own conduct.

God’s rebuke named both the killing of Uriah and the taking of his wife. David did not answer by listing his earlier victories or insisting that being king gave him the right. He confessed, and Nathan answered him:

So David said to Nathan, “I have sinned against the LORD.” And Nathan said to David, “The LORD also has put away your sin; you shall not die.”

2 Samuel 12:13

The forgiveness was real, but Nathan had also announced judgment within David’s household. The child born after the adultery died, and later events brought violence and public humiliation to David’s family. Mercy did not return everyone to life as it had been before his sin. I need to keep that distinction when I speak about forgiveness. God can forgive guilt without making the harm unreal or promising that the earthly consequences will disappear.

Listening to David’s Confession

Psalm 51 is identified with Nathan’s visit after David had gone in to Bathsheba. David’s prayer begins with what he needs from God:

Have mercy upon me, O God, According to Your lovingkindness; According to the multitude of Your tender mercies, Blot out my transgressions. Wash me thoroughly from my iniquity, And cleanse me from my sin.

Psalm 51:1-2

He asks to be washed because he cannot cleanse himself by defending what he did. Later in the psalm he confesses bloodguilt, his responsibility for innocent bloodshed. When he says, “Against You, You only, have I sinned,” he does not deny the wrong done to Bathsheba, Uriah, the other soldiers, or his own household. Those acts were committed before the LORD and violated His commands. Recognizing that made the wrongdoing more serious, not less.

David also asked God to change him inwardly. Avoiding exposure had not dealt with the desires and choices that produced the offense. He needed a heart that would remain faithful to the Lord:

Create in me a clean heart, O God, And renew a steadfast spirit within me. Do not cast me away from Your presence, And do not take Your Holy Spirit from me.

Psalm 51:10-11

I understand the plea about the Holy Spirit in the setting of David’s kingship. We have already seen that the Spirit departed from Saul when God rejected his continued rule, and David knew what had happened to him. David was pleading not to lose God’s presence and the Spirit’s enabling for the responsibility he had received. I would not use that prayer to cancel the New Testament promise that the Spirit lives within every born-again believer and seals him for redemption.

Psalm 32 also describes the burden of hiding sin. It allows us to hear the distress concealment produced before David speaks about confessing it:

When I kept silent, my bones grew old Through my groaning all the day long. For day and night Your hand was heavy upon me; My vitality was turned into the drought of summer. Selah

Psalm 32:3-4

In the verses that follow, he acknowledges his sin instead of covering it, and God forgives him. Protecting his reputation had not given him peace with God. I find that to be a direct warning when I am tempted to soften an admission or explain away something I know was wrong. David’s Sin With Bathsheba looks more closely at this offense and its consequences, but David’s own prayer already shows us why honest confession was necessary.

The Trouble Within David’s Household

The family relationships in 2 Samuel 13 help us understand the terrible events that followed. Amnon and Absalom were David’s sons by different mothers. Tamar was Absalom’s sister, and Amnon raped her. David heard what had happened and became very angry, but the account does not tell us that he disciplined Amnon. Absalom took the devastated Tamar into his home and later arranged for Amnon to be killed.

David’s failure to deal with the wrongdoing cannot be excused merely because he loved his children. Neither can the sons’ decisions be treated as though they were only their father’s actions. Amnon was responsible for the rape, and Absalom was responsible for arranging the murder. The desire to avenge his sister did not make that killing righteous.

Absalom fled after Amnon’s death. He eventually returned, but the relationship with David was not restored in a way that brought lasting peace. He began presenting himself as the man who would give people the justice they wanted, winning support away from his father. When he declared himself king and the rebellion grew, David had to flee Jerusalem with his servants.

David went away weeping. Absalom then followed the advice of Ahithophel, a counselor who had joined the revolt, and publicly took his father’s concubines, women belonging to the royal household as secondary wives. That act asserted his claim against his father and brought the public dishonor Nathan had warned would come. Psalm 3 is identified with David’s flight from Absalom, and it describes what his enemies were saying:

LORD, how they have increased who trouble me! Many are they who rise up against me. Many are they who say of me, “There is no help for him in God.” Selah

Psalm 3:1-2

When the rebellion ended and Absalom died, David grieved for the son who had tried to overthrow him. In 2 Samuel 18:33, he cried, “O my son Absalom, my son, my son Absalom; if only I had died in your place!” His wish could not undo the death. I hear in that grief the limits of even a king’s power to rescue someone he loves. Later, when we consider Jesus as David’s greater Son, we see One who actually gave Himself for sinners rather than being able only to wish He had taken their place.

The final chapters of Samuel also record another failure in David’s rule. He ordered a count of Israel’s fighting men and insisted upon it despite Joab’s objection. In 2 Samuel 24, the event takes place within God’s judgment against Israel, while 1 Chronicles 21 identifies Satan as the one provoking David. Those descriptions do not remove David’s responsibility for the order he gave.

The passages do not give us a complete explanation of his private reasoning. I think his insistence may reflect pride and an increasing reliance on the size of his army, but that should remain an interpretation. What the account states directly is that David recognized his command as sin:

And David’s heart condemned him after he had numbered the people. So David said to the LORD, “I have sinned greatly in what I have done; but now, I pray, O LORD, take away the iniquity of Your servant, for I have done very foolishly.”

2 Samuel 24:10

A plague came upon the people. When David saw the angel striking them, he appealed to the LORD as the ruler responsible for their care:

Then David spoke to the LORD when he saw the angel who was striking the people, and said, “Surely I have sinned, and I have done wickedly; but these sheep, what have they done? Let Your hand, I pray, be against me and against my father’s house.”

2 Samuel 24:17

David was using the image of sheep for the people he had been appointed to shepherd. He was confessing his own wrongdoing, rather than declaring every person in Israel sinless. God then directed him to build an altar at the threshing floor of Araunah, the place where grain was separated from its husks. Chronicles calls this man Ornan. David bought the site instead of accepting it as a gift, because he would not offer God what had cost him nothing.

The LORD restrained the plague, and 2 Chronicles 3:1 identifies that place with the site where Solomon later built the temple. God showed mercy and continued His purpose after David’s failure. That does not turn the census into a good decision. It gives us another instance in which God’s faithfulness outlasted the wrongdoing of the man He had appointed.

Preparing for Solomon and the Temple

David’s desire to build the temple did not end when he learned that Solomon would do the building. He gathered materials, passed on the plans, arranged the service of priests and Levites, and instructed the leaders who would help his son. He could contribute to a work he would not personally complete.

The succession still faced a challenge. In 1 Kings 1, another of David’s sons, Adonijah, exalted himself as king while David was old. Nathan and Bathsheba went to David about what was happening, reminding him of the commitment concerning Solomon. David ordered that Solomon be anointed. Zadok the priest and Nathan carried that out at Gihon, with Benaiah, one of David’s military leaders, supporting the king’s command. Solomon’s public anointing brought Adonijah’s attempt to a halt.

Chronicles also preserves the instruction David gave Solomon before the assembled leaders. The father who had been chosen because God saw the heart told his son to take that knowledge seriously:

“As for you, my son Solomon, know the God of your father, and serve Him with a loyal heart and with a willing mind; for the LORD searches all hearts and understands all the intent of the thoughts. If you seek Him, He will be found by you; but if you forsake Him, He will cast you off forever.

1 Chronicles 28:9

Solomon would inherit a throne and responsibility for the temple, but he could not inherit a faithful response to God without giving that response himself. David called him to know and serve the LORD willingly. The warning concerned his own heart, which God knew as fully as He knew his father’s.

David’s prayer over the gifts for the temple also explained why their generosity gave them no claim over God. Everything they offered had first come from Him. David acknowledged whose kingdom it was:

Yours, O LORD, is the greatness, The power and the glory, The victory and the majesty; For all that is in heaven and in earth is Yours; Yours is the kingdom, O LORD, And You are exalted as head over all.

1 Chronicles 29:11

Near his death, David again charged Solomon to obey God’s law. He also spoke about unresolved matters involving Joab and Shimei. Joab had shed blood through murder, while Shimei had cursed David during Absalom’s rebellion and later received David’s promise that he would not put him to death. David’s directions in 1 Kings 2 concern the responsibilities and unresolved judgments of Israel’s monarchy. They should not be taken as permission for a Christian to settle private grievances by revenge.

David died at a good old age, with riches and honor, and Solomon succeeded him. His psalms continued to give God’s people words for prayer long after his reign ended. Psalm 18 praises the LORD for rescuing him from Saul and other enemies, adding gratitude to the prayers for mercy and help we have already considered. These psalms are inspired worship, though we should not treat them as a modern diary and assign every line a date the text does not give.

Some of them also direct us beyond David’s circumstances. In Psalm 110, David calls the coming King his Lord. Jesus later asked how the Messiah, the promised King descended from David, could also be David’s Lord (Matthew 22:41–46). His human descent explains why He is called David’s Son. His eternal deity explains why David could address Him as Lord. The psalm points us toward a King whose identity cannot be explained by human ancestry alone.

What David’s Life Requires Me to Face

Following the whole account keeps me from judging David by only the part I prefer. The young man who trusted God against Goliath later used his royal authority to take Bathsheba and arrange Uriah’s death. His earlier obedience did not lessen the guilt of those actions or the suffering they caused. If I admire a leader’s ministry, that admiration cannot become an excuse to overlook someone he has harmed.

David’s restraint toward Saul also needs the context we have followed. He refused to murder the king, yet he named the injustice and continued taking steps to escape it. Honoring God’s authority did not require pretending that Saul’s commands were righteous. The study on King Saul follows that contrast further, and it should prevent the phrase about God’s anointed from being used to protect a leader from truthful correction.

I also want to take seriously the occasions when David listened. He received Abigail’s warning before carrying out his revenge, and he confessed when Nathan exposed his sin. Saul repeatedly defended disobedience and tried to preserve appearances. David’s teachability helps me understand the description of his heart without turning that description into a denial of his failures. I need to receive correction while I can still turn away from a wrong course, and to confess honestly when I have already sinned.

The Son of David Who Will Never Fail

Matthew begins his Gospel by identifying Jesus as the Son of David and the Son of Abraham. Those names connect Him with promises God had made long before His birth. God had promised Abraham that blessing would reach the nations through his descendants. Genesis also placed royal authority in the line of Judah, the tribe from which David came. The promise to David then identified the royal family through which the lasting King would come.

That hope reaches back still further to Genesis 3:15. Adam and Eve, the first man and woman, had eaten the fruit God forbade them to eat. When God addressed the serpent who deceived Eve, He promised that the woman’s Seed, meaning her descendant, would bruise its head. I understand that promise of the serpent’s defeat to find its fulfillment in Christ. He truly came from David’s family according to His humanity, and Joseph, Mary’s husband, gave Him the legal connection to the royal line. Yet the One born into that family was already the eternal Son of God. He became fully man without ceasing to be fully God.

When the angel Gabriel told Mary that she would bear Him, he expressly connected the child with David’s throne:

And behold, you will conceive in your womb and bring forth a Son, and shall call His name JESUS. He will be great, and will be called the Son of the Highest; and the Lord God will give Him the throne of His father David. And He will reign over the house of Jacob forever, and of His kingdom there will be no end.

Luke 1:31-33

The house of Jacob means Israel, the people descended from the man God renamed Israel. Gabriel’s announcement therefore carries forward the royal promise we read in 2 Samuel 7. Jesus is the good Shepherd who gives His life for His sheep, meaning the people who belong to Him, and He is the King whose rule will never end. He is greater than the temple David prepared for, and He will return bodily to reign in fulfillment of God’s word.

David needed forgiveness for his own sins. Jesus never did. Wicked men tortured His innocent body and crucified Him, while He willingly gave Himself to be slain as the perfect sacrifice for our sins. His offering was sufficient because He was sinless and gave His own blood and life. That sacrifice was complete through His shed blood and death, before His burial and bodily resurrection.

The Father did not punish, curse, abandon, strike, bruise, or pour wrath on Jesus. Father and Son remained united in saving sinners. Jesus was buried and rose bodily from the dead, having given Himself for the whole world. The mercy David needed rests in the Savior who could accomplish what no king’s achievements or later remorse could provide.

God’s offer of salvation is genuine, though people can resist and reject Him. Everyone who turns to Christ in repentance and faith receives forgiveness and new life. The Holy Spirit lives within that believer and seals him for redemption, marking him as God’s own. Every genuine believer is eternally secure in Christ. Obedience grows from the life God gives; it does not earn salvation or keep it in place. That assurance also gives no permission to defend sin or substitute an empty profession for the new birth.

Jesus Himself brings together His place in David’s family and His existence before David. In Revelation, He identifies Himself this way:

I, Jesus, have sent My angel to testify to you these things in the churches. I am the Root and the Offspring of David, the Bright and Morning Star.

Revelation 22:16

As David’s offspring, He entered the human family through which God promised the King. As David’s root, He is the One on whom David’s own existence and hope depend. I understand both descriptions to be necessary if we are to see why the promise leads us to Jesus rather than ending with admiration for David.

My Final Thoughts

David’s life has shown us a man who depended on God, sometimes listened to correction, and at other times caused terrible harm through his own disobedience. God’s mercy gave him a place to confess, but it never made his sin harmless. I want to remember both truths when correction reaches me. I have no reason to protect a reputation at the expense of honesty, and no reason to think that hiding my guilt can give me the cleansing I need.

The promise to David has also shown why his life cannot be the end of our hope. Jesus is his sinless Son and Lord, the Savior who provides forgiveness and the King whose reign will never fail. David’s repentance directs me toward mercy, and God’s covenant directs me toward Christ. He is the One I can trust with both my guilt and my future.