Search prayers & verses

Try “healing”, “protection”, “birthday” or a verse like “Psalm 23”.

Who Was King David in the Bible?

The life of King David from shepherd boy to king of Israel: Goliath, Saul, Bathsheba, his repentance, the covenant God made with him, and why he is called a man after God’s own heart.

“But the LORD said unto Samuel, Look not on his countenance, or on the height of his stature; because I have refused him: for the Lord seeth not as…” 1 Samuel 16:7

In this article · 15 sections
  1. In short
  2. King David at a Glance
  3. From Shepherd Boy to Anointed King
  4. David and Goliath
  5. David, Saul and Jonathan
  6. David Becomes King of Israel
  7. God’s Covenant With David
  8. David’s Sin With Bathsheba
  9. Trouble in David’s Family and His Last Years
  10. David the Psalm Writer
  11. Why Was David a Man After God’s Own Heart?
  12. Lessons From the Life of King David
  13. People Connected to David
  14. A Prayer Inspired by David’s Life
  15. FAQ

David is one of the best-known people in the Bible. More chapters are given to his life than to almost anyone else in the Old Testament, and his name appears over a thousand times in Scripture. He was a shepherd, a musician, a soldier, a fugitive, a king, a poet and a sinner who found mercy.

Advertisement

This guide walks through who King David was, the main events of his life with Bible references, what God said about him, and what his story still teaches Christians today.

Scripture quotations are from the King James Version (KJV).

King David at a Glance

  • Family: youngest son of Jesse, from Bethlehem in the tribe of Judah (1 Samuel 16:1, 11). Great-grandson of Ruth and Boaz (Ruth 4:17).
  • Role: second king of Israel, after Saul, and the first king from the tribe of Judah.
  • Reign: forty years, seven and a half in Hebron and thirty-three in Jerusalem (2 Samuel 5:4-5). Often dated around 1010–970 BC, though exact dates are debated.
  • Known for: defeating Goliath, his friendship with Jonathan, capturing Jerusalem, bringing the ark of the covenant to the city, writing psalms, and his sin with Bathsheba.
  • Where to read: 1 Samuel 16 to 1 Kings 2, retold in 1 Chronicles 11–29, plus many of the Psalms.

From Shepherd Boy to Anointed King

After King Saul disobeyed God, the Lord sent the prophet Samuel to Bethlehem to anoint one of Jesse’s sons as the next king. Jesse brought out his older sons, and Samuel was impressed by the tallest, Eliab. God said no.

1. God looks on the heart (1 Samuel 16:7)

“But the LORD said unto Samuel, Look not on his countenance, or on the height of his stature; because I have refused him: for the Lord seeth not as man seeth; for man looketh on the outward appearance, but the LORD looketh on the heart.”

This verse sets the tone for David’s whole story. God chose the son who was not even invited to the meal, the one out in the field with the sheep.

Prayer

Lord, thank You that You see the heart and not only the surface. Shape my heart so that it pleases You, even in places no one else is watching. Amen.

2. Samuel anoints David (1 Samuel 16:13)

“Then Samuel took the horn of oil, and anointed him in the midst of his brethren: and the Spirit of the LORD came upon David from that day forward. So Samuel rose up, and went to Ramah.”

David was anointed years before he wore a crown. In between came long seasons of service, danger and waiting. Soon after, he was brought to Saul’s court to play the harp when Saul was troubled (1 Samuel 16:23).

Prayer

Father, when Your promises take a long time to unfold, help me stay faithful in the work in front of me. Fill me with Your Spirit for each day. In Jesus’ name, Amen.

David and Goliath

The Philistine army camped against Israel, and their champion Goliath of Gath challenged any Israelite to single combat. For forty days no one answered (1 Samuel 17:16). David, sent by his father to bring food to his brothers, heard the challenge and offered to fight. He refused Saul’s armour and went out with a sling and five smooth stones. You can read the whole account in 1 Samuel 17.

3. In the name of the Lord of hosts (1 Samuel 17:45)

“Then said David to the Philistine, Thou comest to me with a sword, and with a spear, and with a shield: but I come to thee in the name of the LORD of hosts, the God of the armies of Israel, whom thou hast defied.”

David’s courage was not confidence in his own skill. He had seen God deliver him from a lion and a bear (1 Samuel 17:37), and he trusted the same God now.

Prayer

Lord of hosts, the giants in front of me are real, but You are greater. Give me courage that rests on Your name, not on my strength. In Jesus’ name, Amen.

4. The battle is the Lord’s (1 Samuel 17:47)

“And all this assembly shall know that the LORD saveth not with sword and spear: for the battle is the LORD’s, and he will give you into our hands.”

Prayer

Father, remind me that the battle is Yours. I will do my part and trust You with the outcome. Amen.

David, Saul and Jonathan

David’s victory made him a hero, and the women sang that “Saul hath slain his thousands, and David his ten thousands” (1 Samuel 18:7). Saul grew jealous and tried to kill him more than once. At the same time Saul’s son Jonathan, the heir to the throne, became David’s closest friend and made a covenant with him (1 Samuel 18:1-3; 20:42).

David spent years on the run, hiding in caves and the wilderness. Twice he had the chance to kill Saul, once in a cave near En-gedi (1 Samuel 24) and once in Saul’s camp at night (1 Samuel 26). Both times he refused to harm “the LORD’S anointed.”

5. David spares Saul (1 Samuel 24:6)

“And he said unto his men, The LORD forbid that I should do this thing unto my master, the LORD’s anointed, to stretch forth mine hand against him, seeing he is the anointed of the LORD.”

David would not take the throne by force. He waited for God to give it to him, even when the people around him urged him to act.

Prayer

Lord, keep me from grabbing by my own hands what You have promised to give in Your time. Give me patience and a clean conscience. Amen.

Saul and Jonathan were killed in battle against the Philistines on Mount Gilboa (1 Samuel 31). David’s lament for them, “How are the mighty fallen!”, is recorded in 2 Samuel 1:19-27.

David Becomes King of Israel

David was first made king over Judah at Hebron. After seven and a half years and a long civil war with Saul’s house, all the tribes of Israel came to Hebron and anointed him king over the whole nation (2 Samuel 5:1-3).

6. Forty years on the throne (2 Samuel 5:4-5)

“David was thirty years old when he began to reign, and he reigned forty years. In Hebron he reigned over Judah seven years and six months: and in Jerusalem he reigned thirty and three years over all Israel and Judah.”

Prayer

Father, thank You that You keep Your word from one generation to the next. Help me trust Your timing in my own life. Amen.

David captured the fortress of Zion from the Jebusites and made Jerusalem his capital, “the city of David” (2 Samuel 5:6-9). He then brought the ark of the covenant into the city with great celebration, dancing “before the LORD with all his might” (2 Samuel 6:14). He also defeated Israel’s enemies and expanded the kingdom (2 Samuel 8).

God’s Covenant With David

David wanted to build a temple for God. Through the prophet Nathan, God said that David’s son would build it instead, and then made David a far greater promise.

7. A throne established for ever (2 Samuel 7:16)

“And thine house and thy kingdom shall be established for ever before thee: thy throne shall be established for ever.”

This is known as the Davidic covenant. The prophets looked forward to a king from David’s line who would reign for ever (Isaiah 9:6-7; Jeremiah 23:5). The New Testament sees that promise fulfilled in Jesus, who is called “the son of David” (Matthew 1:1) and is given “the throne of his father David” (Luke 1:32).

Prayer

Lord Jesus, You are the Son of David and the King whose kingdom has no end. Rule in my heart and in my home. Amen.

David’s Sin With Bathsheba

The Bible does not hide David’s failures. One spring, when kings went out to battle, David stayed in Jerusalem. From his roof he saw Bathsheba, the wife of Uriah the Hittite, one of his own soldiers. He took her, and she became pregnant. When his attempt to cover it up failed, David arranged for Uriah to be killed in battle and then married Bathsheba (2 Samuel 11).

God sent Nathan, who told David a story about a rich man who stole a poor man’s only lamb. David was furious, and Nathan replied, “Thou art the man” (2 Samuel 12:7).

8. I have sinned against the Lord (2 Samuel 12:13)

“And David said unto Nathan, I have sinned against the LORD. And Nathan said unto David, The LORD also hath put away thy sin; thou shalt not die.”

David did not argue or blame anyone. God forgave him, but the consequences were still severe: the child died, and violence and betrayal came into his own family.

Prayer

Father, when You show me my sin, help me confess it as David did, without excuses. Thank You for Your forgiveness. Amen.

9. A clean heart (Psalm 51:10)

“Create in me a clean heart, O God; and renew a right spirit within me.”

Psalm 51 is titled as David’s prayer after Nathan came to him. It is one of the most honest prayers of repentance ever written. Read the full psalm in Psalm 51, and see these prayers for repentance if you want words of your own.

Prayer

Create in me a clean heart, O God. Wash me, renew me and restore to me the joy of Your salvation. In Jesus’ name, Amen.

Trouble in David’s Family and His Last Years

The years that followed were painful. David’s son Amnon assaulted his half-sister Tamar, and her brother Absalom later killed Amnon (2 Samuel 13). Absalom then turned the people against his father and led a rebellion. David fled Jerusalem, and Absalom was killed in battle. David’s grief, “O my son Absalom, my son, my son Absalom!”, is one of the saddest lines in Scripture (2 Samuel 18:33).

Late in his reign David sinned again by ordering a census of the fighting men, and he again confessed (2 Samuel 24:10). He bought the threshing floor of Araunah and built an altar there. He also gathered materials for the temple that Solomon would later build (1 Chronicles 22).

As David grew old, his son Adonijah tried to claim the throne, but David had Solomon, Bathsheba’s son, anointed king (1 Kings 1). David died and was buried in the city of David (1 Kings 2:10-11).

David the Psalm Writer

David was known as “the sweet psalmist of Israel” (2 Samuel 23:1). About half of the 150 psalms carry his name in their titles, including Psalm 23, Psalm 27, Psalm 51 and Psalm 139. His psalms cover fear, joy, guilt, anger, loneliness and praise, which is why so many people still pray them. For one of the best loved, see our Psalm 23 meaning guide.

10. The Lord is my light (Psalm 27:1)

“The LORD is my light and my salvation; whom shall I fear? the LORD is the strength of my life; of whom shall I be afraid?”

Prayer

Lord, You are my light and my salvation. When fear rises in me, remind me that You are the strength of my life. Amen.

Why Was David a Man After God’s Own Heart?

11. A man after God’s own heart (Acts 13:22)

“And when he had removed him, he raised up unto them David to be their king; to whom also he gave testimony, and said, I have found David the son of Jesse, a man after mine own heart, which shall fulfil all my will.”

Paul quotes 1 Samuel 13:14 here. The phrase does not mean David was perfect. Saul and David both sinned. The difference was in how they responded: Saul made excuses (1 Samuel 15:20-21), while David confessed and returned to God. David also loved God’s presence, trusted Him in danger and refused to take matters into his own hands against Saul.

Prayer

Father, I want a heart that follows after You. When I fall, turn me back quickly. When I succeed, keep me humble. In Jesus’ name, Amen.

Lessons From the Life of King David

  • God chooses the overlooked. David was the youngest son, left with the sheep. God looks at the heart.
  • Faith grows in private first. David’s courage against Goliath came from years of trusting God with lions and bears.
  • Waiting is part of obedience. David refused to seize the throne before God gave it. For words to pray in a hard wait, see these prayers for courage.
  • Friendship matters. Jonathan’s loyalty strengthened David “in God” (1 Samuel 23:16). See these Bible verses about friendship.
  • Sin has real costs, but grace is real too. David was forgiven, yet the effects of his choices hurt his family for years.
  • Honest prayer is welcome. David’s psalms show you can bring every feeling to God.

People Connected to David

  • Jesse: David’s father, from Bethlehem.
  • Samuel: the prophet who anointed him.
  • Saul: Israel’s first king, who tried to kill him.
  • Jonathan: Saul’s son and David’s closest friend.
  • Michal, Abigail and Bathsheba: three of David’s wives named in Scripture.
  • Nathan: the prophet who brought God’s covenant and later God’s rebuke.
  • Absalom and Solomon: his sons, one a rebel and one his successor.

To see where these books sit in the Bible, use our list of the books of the Bible in order.

A Prayer Inspired by David’s Life

A prayer for a heart like David’s

Lord, You chose David when others overlooked him, and You looked at his heart. Search my heart too. Give me courage to face my giants in Your name, patience to wait for Your timing, and honesty to confess when I have sinned. Thank You that Jesus, the Son of David, reigns for ever, and that His mercy is greater than my worst failure. In Jesus’ name, Amen.

Advertisement

Frequently asked questions

Who was King David in the Bible?

David was the youngest son of Jesse of Bethlehem, from the tribe of Judah. He became Israel’s second king, united the tribes, made Jerusalem the capital and is remembered as a warrior, a poet and an ancestor of Jesus.

What does God say about King David?

God called him “a man after mine own heart” (1 Samuel 13:14; Acts 13:22) and promised that his throne would be established for ever (2 Samuel 7:16). God also confronted his sin through the prophet Nathan, and David faced serious consequences.

Why was David called a man after God’s own heart?

Not because he was sinless. David trusted God, worshipped Him wholeheartedly and, when he sinned, he did not make excuses but confessed and turned back to God (2 Samuel 12:13; Psalm 51).

How long did King David reign?

Forty years. He reigned seven years and six months over Judah in Hebron, then thirty-three years over all Israel and Judah in Jerusalem (2 Samuel 5:4-5). Many scholars place his reign around 1010–970 BC.

How old was David when he killed Goliath?

The Bible does not give his age. Saul calls him “but a youth” (1 Samuel 17:33), so he was likely a teenager or young man. He was thirty when he became king (2 Samuel 5:4).

Scripture quotations marked NIV are taken from the Holy Bible, New International Version®, NIV®. Copyright © 1973, 1978, 1984, 2011 by Biblica, Inc.™ Used by permission. All rights reserved worldwide. Other translations are noted where used.

Jonathan Reed

Jonathan Reed writes about Bible study, Scripture interpretation, and Christian discipleship. His articles aim to make biblical passages easier to understand while encouraging readers to explore their meaning and apply their lessons faithfully.