David was the youngest son of Jesse of Bethlehem. He was a shepherd when the prophet Samuel anointed him as Israel's next king in 1 Samuel 16:11-13. He became king after Saul, made Jerusalem his capital, and received God's promise of a lasting line of kings in 2 Samuel 7. He also took another man's wife and arranged that man's death. The Bible tells both parts plainly, and it doesn't ask you to pick one.
In short
David was Jesse's youngest son. He was out with the sheep when Samuel anointed him (1 Samuel 16:11-13).
He waited years to rule. He reigned first over Judah at Hebron and later over all Israel (2 Samuel 2:4, 5:3).
In 2 Samuel 11 he takes Bathsheba and has her husband Uriah killed. The prophet Nathan confronts him in 2 Samuel 12.
The heading of Psalm 51 sets the psalm after Nathan's visit. It reads as a prayer for mercy, not an excuse.
Who was David before he became king?
The story starts with a different king. Saul disobeys God in 1 Samuel 15. In 1 Samuel 16:1, the LORD sends Samuel to Bethlehem, to a man named Jesse. Samuel sees Eliab, the oldest son, and assumes he has found the king. In 1 Samuel 16:7 the LORD tells him that people look at the outward appearance, but the LORD looks on the heart. Seven sons pass before Samuel, and God chooses none of them (1 Samuel 16:10). Then Samuel asks if anyone is missing.
11Then Samuel said to Jesse, “Are all your sons here?” And he said, “There remains yet the youngest, but behold, he is keeping the sheep.” And Samuel said to Jesse, “Send and get him, for we will not sit down till he comes here.”
12And he sent and brought him in. Now he was ruddy and had beautiful eyes and was handsome. And the Lord said, “Arise, anoint him, for this is he.”
13Then Samuel took the horn of oil and anointed him in the midst of his brothers. And the Spirit of the Lord rushed upon David from that day forward. And Samuel rose up and went to Ramah.
Notice how little David does here. He isn't even in the room, and his father has to send for him. Samuel anoints him in front of his brothers, and from that day the Spirit of the LORD rushes upon him. Verse 12 mentions his good looks, which is a small irony after verse 7. Still, the choice belongs to God, not to Jesse or the brothers.
Right after this, in 1 Samuel 16:14, the Spirit departs from Saul. David comes into Saul's court as a musician and plays the lyre to calm the troubled king (1 Samuel 16:23). The next chapter brings Goliath, and our David and Goliath Bible study walks through that scene question by question.
How did David become king?
The anointing didn't make David king that day. Saul still held the throne, and he soon turned against David. The women sing that Saul has struck down his thousands and David his ten thousands, and Saul grows angry and jealous (1 Samuel 18:7-9). He throws a spear at David and later hunts him through the wilderness.
Saul's own son Jonathan loves David and makes a covenant with him (1 Samuel 18:1-3). Twice David has a chance to kill Saul, and twice he refuses because Saul is the LORD's anointed (1 Samuel 24:6, 26:9-11). When Saul and Jonathan die in battle, David mourns them in a lament (2 Samuel 1:17-27).
The kingdom then comes in stages. The men of Judah anoint David king at Hebron (2 Samuel 2:4). Later all the tribes come to him there, and he becomes king over all Israel (2 Samuel 5:3). He takes the stronghold of Zion and calls it the city of David (2 Samuel 5:7-9). Then he brings the ark of God into Jerusalem with music and dancing (2 Samuel 6).
The high point comes in 2 Samuel 7. David wants to build a house for God. Through Nathan, God turns the idea around. The LORD will make David a house, a line of kings, and establish his throne forever (2 Samuel 7:11-16). Christians read this promise as reaching its goal in Jesus, whom Matthew 1:1 calls the son of David.
What did David do wrong?
A few chapters later the story turns dark. In 2 Samuel 11, David stays in Jerusalem while his army goes to war. From his roof he sees Bathsheba bathing. He learns that she is the wife of Uriah the Hittite, one of his soldiers, and he sends for her anyway. When she tells him she is pregnant, he tries to cover it up. Uriah refuses to go home while his fellow soldiers camp in the field. So David sends him back to the front with a letter that arranges his death (2 Samuel 11:14-15). The chapter ends with one plain sentence: the thing David had done displeased the LORD (2 Samuel 11:27).
God sends Nathan again, this time with a story about a rich man who takes a poor man's only lamb (2 Samuel 12:1-4). David burns with anger at the rich man, and Nathan tells him that he is the man (2 Samuel 12:5-7). David's answer is short. He says he has sinned against the LORD. Nathan replies that the LORD has put away his sin and that David will not die (2 Samuel 12:13).
Forgiveness comes with consequences. Nathan says the sword will never depart from David's house (2 Samuel 12:10), and the child dies (2 Samuel 12:18). The chapters that follow bring rape and murder among David's own children, and then a revolt by his son Absalom (2 Samuel 13 to 18). When Absalom dies, David weeps and wishes he had died instead (2 Samuel 18:33).
How does Psalm 51 fit David's story?
Many psalms carry David's name in their headings, including Psalm 23. The heading of Psalm 51 goes further and names a moment: the time Nathan came to David after he had gone in to Bathsheba. Read in that setting, the psalm opens this way.
1Have mercy on me, O God, according to your steadfast love; according to your abundant mercy blot out my transgressions.
2Wash me thoroughly from my iniquity, and cleanse me from my sin!
David doesn't start with his reasons. He starts with God's steadfast love and abundant mercy, and then he asks God to wash him and cleanse him. Later lines admit that his sin is ever before him (Psalm 51:3) and ask God to create a clean heart in him (Psalm 51:10). The prayer sits right beside 2 Samuel 12:13. The narrative gives the short confession, and the psalm gives you room to stay with it.
How should you read David today?
David isn't a model to copy line by line. In 1 Samuel 13:14, before David even appears, Samuel tells Saul that the LORD has sought a man after his own heart. Paul repeats the phrase in Acts 13:22. Some Christians read it as praise for David's devotion. Others read it mainly as a description of God's choice. Either way, Scripture puts that phrase and 2 Samuel 11 in the same life.
It helps to keep three scenes in view. In the first, Jesse sends for the shepherd from the field. In the second, the king looks down from his roof. In the third, the same man answers Nathan with a confession. The first scene shows God's choice. The second shows how far a chosen person can fall. The third shows where David turns. His story ends in 1 Kings 2:10, where he dies and his people bury him in the city of David, with Solomon on the throne.
Read the Samuel chapters slowly, and check what each one actually says, the way the Bereans in Acts 17 checked what they heard. If Psalm 51 starts to become your own prayer, our guide to praying the Psalms offers a place to begin.



