Who Was King David in the Bible?

Bible Reference > Bible Facts > People in the Bible

Quick Summary

David was the second king of Israel, who reigned for forty years, roughly 1010 to 970 BC. He started as the youngest son of Jesse, a shepherd in Bethlehem, and was anointed by the prophet Samuel while still a boy. He killed Goliath, survived years on the run from King Saul, united the tribes, made Jerusalem his capital, and brought the Ark of the Covenant there. God promised him a dynasty that would last forever. He also committed adultery with Bathsheba and arranged her husband's death, and his family paid a heavy price. Scripture calls him "a man after his own heart" (1 Samuel 13:14), and the New Testament calls Jesus "the son of David" (Matthew 1:1).

Scripture Reference: 1 Samuel 16 to 1 Kings 2; 1 Chronicles 11 to 29; the Psalms that bear his name

Introduction

The Bible spends more time on David than on almost anyone else in the Old Testament. More than forty chapters of Samuel and Kings follow his life, from a sheepfold in Bethlehem to his deathbed in Jerusalem, and Chronicles tells much of it again. Add the psalms attributed to him and the hundreds of times later writers mention him, and David becomes one of the most important people in the whole story of Scripture.

What makes his story remarkable is its honesty. The writers of Samuel could have given Israel a polished national hero. Instead they gave us a man of real faith and real courage who also lied, schemed, failed his children, and abused his power in ways that cost lives. Then they told us God kept his promises to David anyway.

That is why David still matters. He shows us what faith looks like over a long, messy life. He also shows us what grace looks like when faith falls apart. This page walks through his whole story, and it links out to deeper pages along the way for anyone who wants to slow down on a single chapter of it.

David's Family and Hometown

David was born in Bethlehem in Judah, the youngest son of Jesse. First Samuel describes him as the eighth son, while 1 Chronicles 2:15 lists him as the seventh, probably because one brother died young or was left off the list. Either way, he was the baby of the family, and his brothers never let him forget it.

The Bible never names his mother. It does give us his great-grandmother: Ruth, the Moabite widow who married Boaz of Bethlehem. The Book of Ruth ends with a short genealogy that lands on one name, David (Ruth 4:17 to 22). Israel's greatest king had a foreigner in his family tree, and the Bible wanted readers to notice. You can read her story in Who Was Ruth in the Bible?, and you can see why Bethlehem mattered so much to the Gospel writers in Why Was Jesus Born in Bethlehem?

The Shepherd Boy Anointed King (1 Samuel 16)

Israel already had a king. Saul had disobeyed God, and the LORD sent Samuel to Jesse's house to anoint a replacement. One by one, Jesse's sons passed in front of the prophet. The oldest, Eliab, looked like a king. God said no: "for the LORD does not see as mortals see; they look on the outward appearance, but the LORD looks on the heart" (1 Samuel 16:7).

Nobody had even bothered to call David in from the sheep. When he finally arrived, God told Samuel, "Rise and anoint him; for this is the one" (1 Samuel 16:12). Samuel poured the oil, "and the spirit of the LORD came mightily upon David from that day forward" (1 Samuel 16:13).

The anointing was private. David went back to the fields, and years would pass before he wore a crown. That pattern shows up again and again in his life. God's promise comes early. The fulfillment takes a long time, and it runs through danger.

David and Goliath (1 Samuel 17)

The most famous story about David happened in the Valley of Elah, where the armies of Israel and the Philistines faced each other across a ravine. Every day, the Philistine champion Goliath of Gath walked out and challenged Israel to send a man to fight him. Every day, Israel's soldiers ran away. You can read more about Israel's longtime enemy in Who Were the Philistines?

David showed up with cheese and bread for his brothers. He heard the challenge and couldn't believe nobody would answer it. Saul tried to dress him in royal armor, but it was too big and too heavy. So David went out with his staff, his sling, and five smooth stones from the brook.

His faith came from experience. "The LORD, who saved me from the paw of the lion and from the paw of the bear, will save me from the hand of this Philistine" (1 Samuel 17:37). And he made it clear who the battle belonged to: "You come to me with sword and spear and javelin; but I come to you in the name of the LORD of hosts" (1 Samuel 17:45). One stone, and the giant fell.

This story has more detail than most people realize, and we've covered it from every angle: The David and Goliath Story, How Tall Was Goliath?, Goliath's armor, Goliath's spear, and Where Did David and Goliath Fight?

David in Saul's Court

David first came to Saul's attention as a musician. When a troubling spirit tormented the king, David played the lyre and Saul found relief (1 Samuel 16:23). After Goliath, David became a commander in Saul's army, and he won battle after battle.

That success became a problem. The women of Israel came out singing, "Saul has killed his thousands, and David his ten thousands" (1 Samuel 18:7). Saul heard the math, and from that day he watched David with suspicion. Twice he threw a spear at him while David played music. He offered his daughter Michal in marriage, hoping David would die collecting the bride-price from the Philistines. David came back alive with double the price, and Michal loved him.

Saul's son Jonathan loved him too. The two made a covenant of friendship, and Jonathan gave David his own robe, armor, sword, and bow (1 Samuel 18:3 to 4). Jonathan was heir to the throne, and he knowingly stepped aside for his friend. When Jonathan died, David's lament put it simply: "your love to me was wonderful" (2 Samuel 1:26). Saul's tragic story has its own page, Who Was King Saul?

The Fugitive Years

Eventually David had to run for his life. For years he lived in caves and wilderness strongholds, gathering a band of about six hundred men, many of them "in distress," "in debt," or "discontented" (1 Samuel 22:2). He even hid among the Philistines for a time, pretending to be mad in front of the king of Gath.

Twice David had the chance to kill Saul, once in a cave at En-gedi and once in Saul's own camp at night. Both times he refused, because Saul was "the LORD's anointed" (1 Samuel 24:6; 26:9). David believed God had promised him the throne, and he refused to grab it.

During these years he met Abigail, the wise wife of a foolish man named Nabal. She talked David out of a massacre, and after Nabal died, she became David's wife (1 Samuel 25). Her story is told in Who Was Abigail in the Bible?

King in Hebron (2 Samuel 1 to 4)

Saul and Jonathan died fighting the Philistines on Mount Gilboa. David did not celebrate. He wept, and he wrote a lament for them both: "How the mighty have fallen!" (2 Samuel 1:19).

The men of Judah anointed David king in Hebron. The northern tribes followed Saul's surviving son Ish-bosheth instead, and a long, bloody civil war followed. David's nephew and army commander, Joab, played a ruthless role in it, and his story is told in Who Was Joab in the Bible? After seven and a half years, the northern elders came to Hebron and made David king over all Israel. "David was thirty years old when he began to reign, and he reigned forty years" (2 Samuel 5:4).

Jerusalem, the City of David (2 Samuel 5)

David's first move as king of a united Israel was to capture Jerusalem from the Jebusites. The choice was shrewd. Jerusalem sat on the border between Judah and the northern tribes, and it belonged to neither, so no tribe could claim the king favored them. The hilltop city was also easy to defend. David made it his capital, and it became known as the City of David.

Jerusalem has gone by many names since then, and we trace them in Biblical Names for Jerusalem. The hill David captured, Zion, became a symbol of God's presence for the rest of the Bible. See What Is Zion?

David Brings the Ark to Jerusalem (2 Samuel 6)

Next, David brought the Ark of the Covenant to his new capital. The first attempt ended in disaster when Uzzah touched the Ark and died. Three months later David tried again, and this time the procession turned into a festival. "David danced before the LORD with all his might" (2 Samuel 6:14), wearing only a linen ephod.

His wife Michal watched from a window and despised him for it. David answered that he would happily look even more foolish to celebrate the LORD. The text adds that Michal had no children to the day of her death (2 Samuel 6:23). With the Ark in Jerusalem, the political capital became Israel's worship center too. For more on the Ark itself, see What Objects Were in the Ark of the Covenant?

God's Covenant With David (2 Samuel 7)

Once David was settled in his cedar palace, he felt uneasy that God's Ark still lived in a tent. He told the prophet Nathan he wanted to build God a house. That night God sent Nathan back with a surprising answer. David would not build God a house. God would build David a house, a dynasty.

The promise is one of the most important in the Old Testament: "Your house and your kingdom shall be made sure forever before me; your throne shall be established forever" (2 Samuel 7:16). David's son would build the temple instead. That son turned out to be Solomon.

This promise shaped everything that came after it. When the kingdom fell and no king sat on the throne, the prophets kept looking for a son of David who would come. We explain the promise in depth in What Is the Davidic Covenant?, and we show how it fits with God's other promises in How Many Biblical Covenants Are There?

David's Wars and Kingdom

Under David, Israel grew into the strongest kingdom it had ever been. Second Samuel 8 summarizes his campaigns. He defeated the Philistines and pushed them back toward the coast. He subdued Moab, Edom, and Ammon, and he defeated the Aramean kingdoms to the north. Trade and tribute flowed into Jerusalem.

David also showed mercy where he could. He sought out Mephibosheth, Jonathan's disabled son, and gave him a permanent seat at the king's table "for the sake of your father Jonathan" (2 Samuel 9:7).

Was David a real historical figure? In 1993, archaeologists at Tel Dan in northern Israel found a stone inscription from the 800s BC that mentions the "House of David." It is the earliest known reference to David outside the Bible, carved less than two centuries after his reign. Scholars still debate how large and powerful his kingdom was, but the inscription shows that a dynasty traced itself back to him. For dates, see When Did David Live?, and for every king who followed him, see the Kings of Israel and Judah: Complete List and Timeline.

King David's Life at a Glance
StageWhat HappenedWhere
ShepherdYoungest son of Jesse; anointed by Samuel1 Sam 16
Giant-slayerKills Goliath in the Valley of Elah1 Sam 17
Saul's courtMusician, commander, friend of Jonathan, husband of Michal1 Sam 18 to 20
FugitiveRuns from Saul; spares Saul's life twice; marries Abigail1 Sam 21 to 30
King of JudahRules from Hebron for 7½ years, beginning at age 302 Sam 2 to 4
King of all IsraelCaptures Jerusalem; brings the Ark; receives God's covenant2 Sam 5 to 7
FailureBathsheba and Uriah; confronted by Nathan2 Sam 11 to 12
Family crisisAmnon and Tamar; Absalom's revolt and death2 Sam 13 to 19
Last daysNames Solomon king; dies at about 70 after 40 years on the throne1 Kgs 1 to 2
Approximate reign: 1010 to 970 BC. Scripture references from the NRSV.

David and Bathsheba (2 Samuel 11)

The turning point of David's life starts with one understated line of judgment: "In the spring of the year, the time when kings go out to battle," David sent Joab and the army out, "but David remained at Jerusalem" (2 Samuel 11:1). The king who once ran toward a giant was now staying home.

From his roof he saw a woman bathing. He learned she was Bathsheba, the wife of Uriah the Hittite, one of his own elite soldiers. He sent for her anyway. When she sent word that she was pregnant, David tried to cover it up by bringing Uriah home from the front. Uriah refused to sleep in his own house while his fellow soldiers camped in the field. So David sent him back to battle carrying his own death warrant, a letter telling Joab to put Uriah where the fighting was fiercest and then pull back.

Uriah died. David married Bathsheba. The chapter ends with one sentence that changes everything: "But the thing that David had done displeased the LORD" (2 Samuel 11:27).

For centuries, readers blamed Bathsheba for this story. The text doesn't. The king sent, the king took, and the king killed. Her side of the story deserves its own telling, and it has one in Bathsheba and King David: Understanding Her Story Beyond the Scandal.

"You Are the Man!" Nathan Confronts David (2 Samuel 12)

God sent Nathan back to the palace with a story. A rich man with huge flocks had a guest to feed. Instead of taking one of his own sheep, he stole the one little lamb a poor man loved like a daughter. David exploded with anger and said the man deserved to die.

Nathan answered with four words: "You are the man!" (2 Samuel 12:7).

What David did next is why we still remember him the way we do. Kings in his world could silence a prophet with a word. David said, "I have sinned against the LORD" (2 Samuel 12:13). Nathan told him God had put away his sin and he would not die. He also told him the sword would never leave his house. The child Bathsheba bore died. Later she gave birth to another son, Solomon. Nathan's role in all this is explored in Nathan the Prophet, David, and Psalm 51.

The Sword in David's House

Nathan's warning came true, painfully, in David's own children.

David's firstborn, Amnon, raped his half-sister Tamar. David was angry but did nothing. Tamar's full brother, Absalom, waited two years, then had Amnon killed and fled the country. Tamar's story is told with care in Who Was Tamar, David's Daughter?

Absalom eventually came home, won the hearts of the people, and led a full-scale rebellion against his father. David fled Jerusalem on foot, weeping as he climbed the Mount of Olives. In the battle that followed, Absalom's long hair caught in an oak tree, and Joab killed him against David's orders. When the news reached David, he broke down: "O my son Absalom, my son, my son Absalom! Would I had died instead of you, O Absalom, my son, my son!" (2 Samuel 18:33). It is one of the most heartbreaking lines in Scripture. See Who Was Absalom in the Bible?

Another revolt followed, led by a man named Sheba. Late in his reign, David ordered a census of his fighting men, and Scripture treats it as an act of pride that brought a plague on Israel (2 Samuel 24). The plague stopped at the threshing floor of Araunah, which David bought and turned into an altar. According to 2 Chronicles 3:1, that was the very spot where Solomon later built the temple.

King David's Wives and Children

David married many women, as kings of his day often did to seal alliances. Scripture names eight wives: Michal, Ahinoam, Abigail, Maacah, Haggith, Abital, Eglah, and Bathsheba (1 Samuel 18; 25; 2 Samuel 3:2 to 5; 1 Chronicles 3:1 to 9). He also had concubines and many more children than the Bible lists.

Four of his sons shape the story most:

  • Amnon, the firstborn, whose crime against Tamar set the family's tragedies in motion

  • Absalom, the handsome son who rebelled and died

  • Adonijah, who tried to seize the throne as David lay dying

  • Solomon, Bathsheba's son, who became king and built the temple

This family is a warning that runs through the rest of Samuel. A king who could lead a nation could not lead his own household, and his children paid for his failures.

David's Last Days and Death (1 Kings 1 to 2)

As David grew old and frail, Adonijah threw himself a coronation feast. Nathan and Bathsheba moved quickly, reminding David of his promise that Solomon would reign. David ordered Solomon anointed at once, and the crowd's shout reached Adonijah's party, which scattered.

David's last words to Solomon begin with a charge to keep God's ways (1 Kings 2:1 to 4). Then "David slept with his ancestors, and was buried in the city of David" (1 Kings 2:10). He was about seventy years old. He had reigned seven years in Hebron and thirty-three in Jerusalem (1 Kings 2:11).

David the Psalmist

David is often called "the sweet psalmist of Israel," a traditional rendering of a phrase in 2 Samuel 23:1. Seventy-three psalms in the Hebrew Bible carry his name in their titles, more than any other person. Some of those titles tie a psalm to a specific moment in his life. Psalm 3 is set when he fled from Absalom. Psalm 51 is set after Nathan confronted him.

Scholars debate how many of these psalms David wrote himself. The Hebrew phrase in the titles can mean "by David," "for David," or "in the style of David," and the Book of Psalms was gathered over centuries. What nobody doubts is that Israel heard David's voice in these prayers. We count the psalms by author in How Many Psalms Did David Write?, and the bigger picture is in Who Wrote the Book of Psalms?

A few of the best-known psalms linked to David:

  • Psalm 23, the shepherd's psalm: "The LORD is my shepherd, I shall not want" (Psalm 23:1)

  • Psalm 51, the great prayer of confession: "Create in me a clean heart, O God" (Psalm 51:10)

  • Psalm 22, the cry Jesus prayed from the cross: "My God, my God, why have you forsaken me?" (Psalm 22:1)

  • Psalm 8, a hymn of wonder at creation: "O LORD, our Sovereign, how majestic is your name in all the earth!" (Psalm 8:1)

  • Psalm 19, on creation and Scripture: "The heavens are telling the glory of God" (Psalm 19:1)

  • Psalm 27, a song of trust: "The LORD is my light and my salvation" (Psalm 27:1)

  • Psalm 32, on the relief of forgiveness: "Happy are those whose transgression is forgiven" (Psalm 32:1)

  • Psalm 110, the psalm the New Testament quotes most often: "The LORD says to my lord, 'Sit at my right hand'" (Psalm 110:1)

These prayers hold praise and grief, confidence and confession, side by side. They taught Israel, and they teach the church, that we can bring all of ourselves to God. For an overview of the whole book, see Overview of Psalms.

Why Is David Called "a Man After God's Own Heart"?

The phrase first appears before David even enters the story. When Saul disobeyed, Samuel told him, "the LORD has sought out a man after his own heart" (1 Samuel 13:14). Paul repeats it in his sermon in Acts: "I have found David, son of Jesse, to be a man after my heart, who will carry out all my wishes" (Acts 13:22).

People often wonder how this can describe a man who committed adultery and murder. The answer is in the Hebrew idea behind the phrase. A person "after God's heart" is a person God has chosen, someone whose heart is set toward God. David sinned terribly, and Scripture says so. When he was confronted with his sin, he turned back to God instead of hardening his heart. Saul made excuses when he was caught. David confessed.

I find that deeply hopeful. If God could keep calling David his own, after everything in 2 Samuel 11, then no one reading this page is beyond God's reach.

David and Jesus: The Son of David

The promise of 2 Samuel 7 never died, even after David's kingdom split apart and was finally destroyed by Babylon. Isaiah spoke of "a shoot" coming "from the stump of Jesse" (Isaiah 11:1). Jeremiah and Ezekiel looked for a coming shepherd-king from David's line.

The New Testament opens by connecting Jesus to that promise: "An account of the genealogy of Jesus the Messiah, the son of David, the son of Abraham" (Matthew 1:1). Jesus is born in Bethlehem, David's town. Blind men and crowds call him "Son of David." On Palm Sunday the crowds shout, "Hosanna to the Son of David!" (Matthew 21:9). Luke's genealogy runs through David as well, and we walk through it in Jesus' Genealogy and God's Grace. The title itself has a full page in our Names of God library, Son of David: A Messianic Title of Jesus.

What David's Life Teaches Us

God sees what people miss. Nobody in Jesse's house thought to call David in from the field. God looks at the heart, and that should change how we look at each other.

Faith grows in ordinary places. David learned to trust God while protecting sheep from lions and bears, long before Goliath. The faith we practice in small things is the faith we'll have for big ones.

Waiting on God takes restraint. Twice David could have taken the throne by killing Saul. He waited for God to keep the promise in God's own time.

Power is dangerous. The same man who refused to harm Saul later used his power to take another man's wife and life. No one is so faithful that they can stop watching their own heart.

Confession opens the door to grace. David's greatness came from how he responded when he failed. "I have sinned against the LORD" may be the most important sentence he ever spoke.

God keeps promises through broken people. David's family was a mess, and his kingdom eventually fell. God's promise to him still led to Bethlehem, and to Jesus.

FAQ

Who was King David in the Bible?

David was the second king of Israel, who reigned about 1010 to 970 BC. A shepherd from Bethlehem and the youngest son of Jesse, he killed Goliath, united the twelve tribes, made Jerusalem his capital, and received God's promise of an everlasting dynasty. His story is in 1 Samuel 16 through 1 Kings 2.

How old was David when he became king?

He was thirty. Second Samuel 5:4 says, "David was thirty years old when he began to reign, and he reigned forty years."

How long did David reign?

Forty years: seven and a half over Judah in Hebron, then thirty-three over all Israel and Judah in Jerusalem (2 Samuel 5:5; 1 Kings 2:11).

How old was David when he killed Goliath?

The Bible doesn't give his age. Saul calls him "just a boy" (1 Samuel 17:33), and he was young enough that his brothers treated him like a kid. Most readers picture him as a teenager.

How many wives did King David have?

Scripture names eight: Michal, Ahinoam, Abigail, Maacah, Haggith, Abital, Eglah, and Bathsheba. He also had concubines (2 Samuel 5:13).

Who was David's best friend?

Jonathan, King Saul's son. The two made a covenant of friendship, and David's lament for him in 2 Samuel 1 is one of the most moving poems in the Bible.

How many psalms did David write?

Seventy-three psalms carry his name in the Hebrew Bible. Scholars debate how many he personally wrote, since the Book of Psalms was gathered over centuries.

What was David's great sin?

He committed adultery with Bathsheba, the wife of Uriah, and then arranged for Uriah to die in battle to cover it up (2 Samuel 11). When the prophet Nathan confronted him, David confessed.

Is Jesus a descendant of David?

Yes. Both Matthew and Luke trace Jesus' family line through David, and the New Testament repeatedly calls Jesus the "Son of David," a title tied to God's promise in 2 Samuel 7.

Is there evidence King David existed?

The Tel Dan inscription, discovered in 1993 in northern Israel, mentions the "House of David" and dates to the 800s BC. It is the earliest known reference to David outside the Bible.

Where is King David buried?

First Kings 2:10 says he was buried "in the city of David," the oldest part of Jerusalem. A site on Mount Zion is traditionally called David's Tomb, but it dates from much later, and most historians do not think it is his actual grave.

Works Consulted

Alter, Robert. The David Story: A Translation with Commentary of 1 and 2 Samuel.

Birch, Bruce C. "The First and Second Books of Samuel." The New Interpreter's Bible.

Brueggemann, Walter. First and Second Samuel. Interpretation.

Brueggemann, Walter. David's Truth in Israel's Imagination and Memory.

Halpern, Baruch. David's Secret Demons: Messiah, Murderer, Traitor, King.

McCarter, P. Kyle, Jr. I Samuel and II Samuel. Anchor Bible.

PART OF BIBLE REFERENCE / BIBLE FACTS

Explore more on People in the Bible

View Category →

What would you like to know next?

Books & AuthorshipPlaces in the BibleBible Structure & NumbersSymbolic Imagery

Jason Elder



https://www.pastorjasonelder.com

Comments (0)

Newest First           Oldest First           Newest First                      Most Liked           Least Liked                    

Preview Post Comment…

Next

Who Was Aaron in the Bible?

EDIT SITE FOOTER

Pastor Jason Elder

About‍ ‍Contact‍ ‍Follow‍ ‍Privacy

Copyright 2026

Previous
Previous

Who Was Deborah in the Bible?

Next
Next

Who Was Daniel in the Bible?