Skip to content

No Nut November 2026: a Self-contract, daily check-ins and a Streak to follow through the month.

See the challenge

David and Bathsheba: What the Story Teaches About Lust

By TrueAlly Team Updated 14 min read

How we write our guides

An indigo rooftop wall with a gray open eye above it, looking away to the right, representing a first look that can be turned away from.

Key takeaways

  • The text places the guilt on David, who sent for Bathsheba and took her, and it gives her no words, feelings or motives.
  • Stop the sequence early: David's story moves from a look to a search, a summons, adultery, a letter and a death, and each step was a choice.
  • Let a trusted person name what you hide, as Nathan named David's sin, before the cover-up grows.
  • Psalm 51 gives honest words for confession: ask God for mercy and a clean heart, and admit the sin plainly.
  • The research is indirect: its studies describe modern porn use rather than David's mind, so read them as patterns rather than proof.
On this page
  1. David and Bathsheba at a Glance
  2. What Happened Between David and Bathsheba?
  3. Who Was Responsible: David or Bathsheba?
  4. How Did One Look Lead to Adultery and Murder?
  5. Was King David Idle When He Saw Bathsheba?
  6. What Did Nathan Do, and Why Does Secrecy Matter?
  7. What Does Psalm 51 Teach After a Fall?
  8. Did God Forgive David, and What Were the Consequences?
  9. What Happened to Bathsheba and Her Son Solomon?
  10. What Do Christian Confessions Teach About Lust?
  11. What Can Christian Men Learn From David and Bathsheba Today?
  12. When to Get Help
  13. The Bottom Line
  14. Sources

David and Bathsheba’s story in 2 Samuel 11–12 shows how one look can grow into adultery and murder, and how Nathan’s confrontation led David to confess.

If you are fighting lust or porn, this story may feel close to home. Read in context, it shows where the sin began and where it could have been stopped. For the broader picture, start with how to overcome lust.

David and Bathsheba at a Glance

QuestionShort answer
Where is the story?2 Samuel 11–12, with Psalm 51 linked to it by its heading.
What happened?David stayed in Jerusalem, sent for Bathsheba and took her, and later had her husband Uriah sent to his death.
Who was responsible?The text places the decisions and the guilt on David.
Was David idle?The text says he stayed in Jerusalem. Idleness is an inference, not a stated cause.
How did one look become a crime?Step by step: a look, a search, a summons, adultery, a letter and a death.
What did Nathan do?He told a parable, then said, “You are the man!”
What is Psalm 51?A prayer for mercy and a clean heart, which its heading connects to Nathan’s visit.
Was David forgiven?Yes. The sin was put away, but the child’s death still followed.
What happened to Bathsheba?She bore Solomon and later appeared as Solomon’s mother.

What Happened Between David and Bathsheba?

In 2 Samuel 11, David’s look leads to adultery and then to a letter that sends Uriah to his death. In 2 Samuel 12, Nathan confronts David, and David confesses.

Israel’s army is besieging Rabbah, and the text says David stayed in Jerusalem. Read the opening verses slowly.

2 Samuel 11:1-5 (WEB)

At the return of the year, at the time when kings go out, David sent Joab and his servants with him, and all Israel; and they destroyed the children of Ammon and besieged Rabbah. But David stayed at Jerusalem.

At evening, David arose from his bed and walked on the roof of the king’s house. From the roof, he saw a woman bathing, and the woman was very beautiful to look at.

David sent and inquired after the woman. One said, “Isn’t this Bathsheba, the daughter of Eliam, Uriah the Hittite’s wife?”

David sent messengers, and took her; and she came in to him, and he lay with her (for she was purified from her uncleanness); and she returned to her house.

The woman conceived; and she sent and told David, and said, “I am with child.”

The cover-up follows. David tells Uriah to go home and wash his feet, but Uriah sleeps at the palace door and says the ark, Israel and Judah are in tents (2 Samuel 11:8-11, WEB). David makes him drunk, and Uriah still does not go home (11:13, WEB). A letter, carried by Uriah’s own hand, orders Joab to put Uriah at the front of the hottest battle and withdraw from him (11:14-15, WEB). Uriah dies in the fighting. When the mourning is over, David takes Bathsheba into his house, and the narrator writes, “But the thing that David had done displeased Yahweh” (11:27, WEB).

Who Was Responsible: David or Bathsheba?

The text places the decisions and the guilt on David. It gives Bathsheba no consent, feelings or motives, and this guide will not invent them.

David “sent messengers, and took her” (2 Samuel 11:4, WEB). Nathan’s charge is addressed to David: “Why have you despised Yahweh’s word, to do that which is evil in his sight?” (12:9, WEB). The verbs show a king at work, and the text says nothing more about what she felt or wanted.

Two details are often misread. The text does not present the bathing as an invitation; it says David was on the roof and saw her (11:2, WEB). And Nathan’s parable names no woman (12:1-4, WEB). Many readers take the ewe lamb as Bathsheba, but that is an interpretation the text does not state. The text names the man: “You are the man!” (12:7, WEB).

How Did One Look Lead to Adultery and Murder?

The story moves in steps: a look, a search, a summons, adultery, a letter and a death. James 1:14-15 describes the same movement from desire to sin.

James writes that “each one is tempted when he is drawn away by his own lust and enticed,” and that “the lust, when it has conceived, bears sin” (James 1:14-15, WEB). Those verses describe how sin develops. They do not say that being tempted is sin, and a first look is not the same as choosing to pursue. The guide on taking thoughts captive explains that difference.

Jesus places the start of adultery in the heart: “everyone who gazes at a woman to lust after her has committed adultery with her already in his heart” (Matthew 5:28, WEB). For another story of a gifted man who kept returning to temptation, read Samson and Delilah.

No published study has measured how a first look grows into a pattern of porn use. The closest work is laboratory research. Mechelmans et al., 2014 compared 22 heterosexual men with compulsive sexual behavior and 44 healthy male volunteers in a dot-probe task. The men with compulsive sexual behavior showed enhanced attention to sexually explicit cues, but not neutral ones, compared with the volunteers. That measures attention in a lab, not desire or porn use, and the two groups were recruited differently.

Allen et al., 2017 surveyed a final sample of 191 participants screened for problematic internet pornography use. The authors proposed that cues trigger positive beliefs about desire thinking, which escalate craving. They wrote that their results “validated” those metacognitive processes. In this sample, the results fit the model, and fit is not proof.

Ince et al., 2024 analyzed two independent samples of male pornography users (1,356 and 944 men) in a cross-sectional network analysis. There, “quantitative tolerance was centrally placed within the overall network.” Because the design is cross-sectional, it shows a pattern of connected features, not a sequence in time.

Was King David Idle When He Saw Bathsheba?

The text says David stayed in Jerusalem while his army fought, but it does not call him idle or bored. Any link to idleness is an inference.

David “stayed at Jerusalem” while the army was out, and at evening he rose from his bed and walked on the roof (2 Samuel 11:1-2, WEB). The narrator gives no reason and no word about his mood. Many readers still see idleness there. No study can tell us what was in David’s mind; the research below is about modern porn use.

de Oliveira and Carvalho, 2020 reviewed 19 articles and reported: “Most studies indicate a positive association between boredom and hypersexuality, although 4 did not.” The authors also described several included studies as anecdotal and called for research on pornography use specifically. In self-report data from three general-population samples of 772, 792 and 1,082 people, Bőthe et al., 2021 found boredom avoidance among the motives with weak-to-moderate associations with how often people used porn and with problematic use. Those are survey associations, not proof of cause.

Planning for empty evenings is a practical step whatever the research says. The HALT check covers hunger, anger, loneliness and tiredness.

What Did Nathan Do, and Why Does Secrecy Matter?

Nathan did not open with an accusation. He told a story that drew out David’s own judgment, and then he said, “You are the man!”

Nathan’s parable is about a rich man who took a poor man’s one little ewe lamb to prepare a meal for a visitor, though he had very many flocks of his own (2 Samuel 12:1-4, WEB). David’s anger burned hot against the man (12:5, WEB). Only then did Nathan speak: “You are the man!” (12:7, WEB). Through Nathan, God names the secrecy: “For you did this secretly, but I will do this thing before all Israel, and before the sun” (12:12, WEB).

Hebrews gives the community side of that warning: believers are to “exhort one another day by day,” so that none is “hardened by the deceitfulness of sin” (Hebrews 3:13, WEB).

Slepian et al., 2017 ran ten studies with more than 13,000 secrets, though these were secrets in general, not pornography. How often people mind-wandered to their secrets predicted lower well-being, independent of how often they had to conceal them. In a qualitative study of 40 interviews with adults across Britain, Macdowall et al., 2025 found that avoiding strategies were the most common, including “hiding pornography use from others.” Those are themes from interviews, not measures of how many people hide their use.

Choose one trusted person who can hear the whole truth. Confess your sins to one another covers whom to tell and how much to say.

What Does Psalm 51 Teach After a Fall?

Psalm 51 is a prayer for mercy and a clean heart. Its heading ties it to Nathan’s visit after David had gone in to Bathsheba.

Psalm 51, heading (WEB)

For the Chief Musician. A Psalm by David, when Nathan the prophet came to him, after he had gone in to Bathsheba.

The psalm does not tell the story. It asks God for mercy and a clean heart: “Have mercy on me, God, according to your loving kindness” (Psalm 51:1, WEB), and “Create in me a clean heart, O God” (Psalm 51:10, WEB). It also says, “Against you, and you only, I have sinned” (Psalm 51:4, WEB). Read alone, “you only” can sound as if no one else was harmed. Read it beside 2 Samuel 12:9, WEB, where Nathan says, “You have struck Uriah the Hittite with the sword,” and the verse reads as confession, not as a denial that others were hurt.

Shame and guilt are easy to blur after a fall. In anonymous online surveys of 177 people seeking treatment for compulsive pornography use, Gilliland et al., 2011 found, in a path model, that shame-proneness was positively related to hypersexuality, and guilt-proneness to motivation to change and preventive behaviors. Those are associations, not causes. A longitudinal study of 476 jail inmates, Tangney et al., 2014, concerned general offending, not pornography. There, guilt-proneness predicted less reoffending in the first year after release.

Guilt that says you did something and want to change points toward repair. Shame that writes you off can keep the sin in the dark. Godly sorrow and worldly sorrow works through that difference, and the prayers for after a fall give words for the next step.

Did God Forgive David, and What Were the Consequences?

Yes. Nathan said the sin was put away, and David would not die. The child’s death still followed, so the story keeps forgiveness and consequence together.

2 Samuel 12:13-14 (WEB)

David said to Nathan, “I have sinned against Yahweh.” Nathan said to David, “Yahweh also has put away your sin. You will not die.

However, because by this deed you have given great occasion to Yahweh’s enemies to blaspheme, the child also who is born to you will surely die.”

Verse 14 keeps a cost, and it ties that cost to the “great occasion” the deed gave Yahweh’s enemies “to blaspheme.” The child’s illness and death follow (2 Samuel 12:15-18, WEB). The story does not teach that God harms a child because of a parent’s porn use.

The Kings writer gives the balance in one sentence: David “did that which was right in Yahweh’s eyes,” except “in the matter of Uriah the Hittite” (1 Kings 15:5, WEB). In Acts, God’s testimony calls David “a man after my heart,” which describes God’s choice, not a claim that David never sinned (Acts 13:22, WEB).

For a man fighting porn, forgiveness and consequence both stay real. God’s forgiveness does not erase every cost, and rebuilding trust takes time. What to do after a porn relapse covers the first 24 hours after a setback.

What Happened to Bathsheba and Her Son Solomon?

The text reports Bathsheba’s actions and her son’s place in the royal line. It gives no feelings or motives for her, and this guide does not add any.

After the child dies, David “comforted Bathsheba his wife,” and she bore a son, Solomon (2 Samuel 12:24, WEB). Later, Bathsheba goes to King Solomon to speak for Adonijah, and the king “rose up to meet her” and had a throne set for “the king’s mother” (1 Kings 2:19, WEB). Matthew’s genealogy names her only as “her who had been Uriah’s wife” (Matthew 1:6, WEB).

What Do Christian Confessions Teach About Lust?

Protestant standards forbid unchaste looks, thoughts and desires, and they call for watchfulness over the senses.

The Westminster Larger Catechism asks for “watchfulness over the eyes and all the senses” (Q. 138). The Heidelberg Catechism forbids “all unchaste actions, looks, talk, thoughts, or desires” (Lord’s Day 41, Q&A 109). Luther’s Small Catechism explains the sixth commandment as living “a sexually pure and decent life in what we say and do” (Luther’s Small Catechism, Sixth Commandment). The 1662 Book of Common Prayer’s Commination directs that all kneel while Psalm 51 is said (Commination).

These standards reach the heart as well as the eyes, so bring your looks, thoughts and desires to God in prayer and to a trusted person who can help you stay honest about them.

What Can Christian Men Learn From David and Bathsheba Today?

Applied to lust and porn today, the story points to seven practical steps.

  1. Know your rooftop hours. The look came in the evening, when David was up and on the roof (2 Samuel 11:2, WEB). Name the hours when you are most exposed, and plan for them.

  2. Stop before the search. After he saw her, David “sent and inquired after the woman” (11:3, WEB). Decide ahead of time that a look will not become a search. Make a plan for your eyes and your evenings, using the steps in how to overcome lust.

  3. Stop the cover-up early. Each step after the pregnancy reads as an effort to hide what had happened (2 Samuel 11:5-15, WEB). Tell a trusted person before the next step, not after it.

  4. Let someone be your Nathan. The prophet was sent from outside the secret and named it (2 Samuel 12:1, WEB). Choose one trusted person, such as a pastor or mature friend, and tell them what is actually happening.

  5. Say the sin plainly. David’s words were short: “I have sinned against Yahweh” (2 Samuel 12:13, WEB). Use plain words in confession, without excuses or blame for others.

  6. Pray Psalm 51 as your own prayer. Ask for mercy and a clean heart (Psalm 51:1, WEB and Psalm 51:10, WEB).

  7. Rebuild trust with patience. The cost stayed in David’s story (2 Samuel 12:14, WEB). If you are married, think through with a trusted adviser how to talk with your wife. How to approach that conversation lays out the practical side.

When to Get Help

Get help early if the cycle of looking, hiding and repeating keeps going, especially if you feel trapped. Prayer and confession belong alongside practical steps, and they do not replace professional help.

Bring your struggle to a pastor, and to a qualified therapist when a conversation is not enough. Treatment options for porn use that feels out of control explains the kinds of help available.

Watch for scrupulosity. If you keep repeating the same confession, praying anxiously again and again, or seeking reassurance that you did it right, bring that pattern to a therapist and a trusted spiritual adviser.

If you have thoughts of harming yourself, call or text 988 (the Suicide & Crisis Lifeline in the US), or your local emergency number.

The Bottom Line

  • Read the whole story. David stayed, looked, sent, took and concealed, and the text places those decisions on him.
  • Stop the sequence early. Each step after the first look was a choice, and James 1:14-15 describes the same movement from desire to sin.
  • Let a trusted person name what you hide. Nathan named David’s sin, and David confessed in a few plain words.
  • Pray honest words, and accept the cost. Psalm 51 asks for mercy and a clean heart, and the story keeps forgiveness and consequence together.

When an urge hits, TrueAlly’s Strong urge gives you support for the next step, and with the optional “Christ-centered, science-based” focus it includes three short prayers under “Pray.”


Sources

  1. World English Bible, public domain. 2 Samuel 11–12, 2 Samuel 11:2, 2 Samuel 11:3, 2 Samuel 11:4, 2 Samuel 11:5-15, 2 Samuel 11:8-11, 2 Samuel 11:13, 2 Samuel 11:14-15, 2 Samuel 11:27, 2 Samuel 12, 2 Samuel 12:5, 2 Samuel 12:7, 2 Samuel 12:9, 2 Samuel 12:12, 2 Samuel 12:13-14, 2 Samuel 12:15-18, 2 Samuel 12:24, 1 Kings 2:19, 1 Kings 15:5, Psalm 51, Psalm 51:1, Psalm 51:4, Psalm 51:10, Matthew 1:6, Matthew 5:28, Acts 13:22, Hebrews 3:13, and James 1:14-15.
  2. Church of England. Book of Common Prayer (1662): A Commination.
  3. Westminster Assembly. Westminster Larger Catechism, Questions 138–139, text hosted by the Orthodox Presbyterian Church.
  4. Reformed Church in America. Heidelberg Catechism, Lord’s Day 41, Q&A 109.
  5. Concordia Publishing House. Luther’s Small Catechism: The Sixth Commandment.
  6. Mechelmans, D. J., Irvine, M., Banca, P., Porter, L., Mitchell, S., Mole, T. B., Lapa, T. R., Harrison, N. A., Potenza, M. N., & Voon, V. (2014). Enhanced attentional bias towards sexually explicit cues in individuals with and without compulsive sexual behaviours. PLoS ONE, 9(8), e105476.
  7. Allen, A., Kannis-Dymand, L., & Katsikitis, M. (2017). Problematic internet pornography use: The role of craving, desire thinking, and metacognition. Addictive Behaviors, 70, 65–71.
  8. Ince, C., Albertella, L., Liu, C., Tiego, J., Fontenelle, L. F., Chamberlain, S. R., Yücel, M., & Rotaru, K. (2024). Problematic pornography use and novel patterns of escalating use: A cross-sectional network analysis with two independent samples. Addictive Behaviors, 156, 108048.
  9. de Oliveira, L., & Carvalho, J. (2020). The link between boredom and hypersexuality: A systematic review. The Journal of Sexual Medicine, 17(5), 994–1004.
  10. Bőthe, B., Tóth-Király, I., Bella, N., Potenza, M. N., Demetrovics, Z., & Orosz, G. (2021). Why do people watch pornography? The motivational basis of pornography use. Psychology of Addictive Behaviors, 35(2), 172–186.
  11. Slepian, M. L., Chun, J. S., & Mason, M. F. (2017). The experience of secrecy. Journal of Personality and Social Psychology, 113(1), 1–33.
  12. Macdowall, W. G., Lewis, R., Reid, D., Mitchell, K. R., Bosó Pérez, R., Maxwell, K. J., Attwood, F., Gibbs, J., Hogan, B., Mercer, C. H., Sonnenberg, P., & Bonell, C. (2025). Pornography use among adults in Britain: A qualitative study of patterns of use, motivations, and stigma management strategies. Archives of Sexual Behavior, 54(4), 1589–1599.
  13. Gilliland, R., South, M., Carpenter, B. N., & Hardy, S. A. (2011). The roles of shame and guilt in hypersexual behavior. Sexual Addiction & Compulsivity, 18(1), 12–29.
  14. Tangney, J. P., Stuewig, J., & Martinez, A. G. (2014). Two faces of shame: The roles of shame and guilt in predicting recidivism. Psychological Science, 25(3), 799–805.

Frequently asked questions

Where is the story of David and Bathsheba in the Bible?

It is in 2 Samuel 11 and 12. Chapter 11 tells how David stayed in Jerusalem while his army fought, saw Bathsheba bathing, sent for her and took her, and later sent a letter that put her husband Uriah at the front of the hottest battle, where he died. Chapter 12 tells how the prophet Nathan confronted David, how David confessed, and what the child’s death cost. Psalm 51 is linked to Nathan’s visit by its heading.

How old was David when he met Bathsheba?

The text does not say. Second Samuel 11 and 12 give no age for David or Bathsheba, and they give no length of time between the events. Phrases such as “At the return of the year” and “When the mourning was past” mark time only loosely. Any number you read into the story is an assumption, so it is better to read what the text does say about David’s choices.

Did Bathsheba love David?

The text does not say, and it gives her no words, feelings or motives about David. It reports her actions: she was seen bathing, she came in to David, she went back to her house, she sent word that she was pregnant, and later she bore Solomon. The story is written around David’s choices, so any claim about what she felt is an addition to the text.

Which psalm did David write after Bathsheba?

According to its heading, Psalm 51 is a psalm by David from the time Nathan came to him, after he had gone in to Bathsheba. The psalm itself is a prayer for mercy and a clean heart, and it does not tell the story. The heading is part of the text as printed, and this guide does not claim more than that about who wrote the psalm or when.

What was Uriah’s role in the story?

Uriah the Hittite was Bathsheba’s husband and a soldier in David’s army. When David called him home from the war, Uriah would not go to his house and lie with his wife, saying that the ark, Israel and Judah were in tents. David later sent him back to the front with a letter that Uriah carried himself, and Uriah died in the battle. The text does not say whether Uriah read the letter or knew what it said.

Why is David called a man after God’s own heart if he did this?

Acts 13:22 reports God’s words about David, “a man after my heart,” in Paul’s sermon at Antioch. The phrase describes God’s choice and intent, not a claim that David never sinned. First Kings 15:5 keeps both facts together: David did what was right, except in the matter of Uriah the Hittite. The phrase does not excuse the sin, and David’s confession shows that a fall did not end the story.

What does “You are the man” mean?

It is Nathan’s direct accusation to David. Nathan first told him a story about a rich man who took a poor man’s one little ewe lamb, and David judged the man in the story. Nathan’s words turned that judgment onto David himself. The verse names David as the man. It does not name Bathsheba, and many readers take the lamb as her, which is an interpretation rather than the text’s own statement.

Is looking at porn the same as what David did?

No. David’s acts included taking a married woman, sending for her, and arranging a man’s death, and those are far more serious than a look. Jesus does describe lustful looking as adultery already in the heart, so the two stories share a starting point. The story shows where a look can lead, which is why it is worth stopping early.

Start your 42-day plan to quit porn

The TrueAlly Plan: 42 days of short lessons, Missions and check-ins. Choose “Christ-centered, science-based” or “Science-based only.” Guard pauses before the apps you choose; Strong urge supports difficult moments. On iPhone and Android, free to download, with subscription plans.

Rated 4.6 on the App Store (27 ratings)