David’s temptation and sin illustrate the truth of James 1:14–15—“But each one is tempted when he is drawn away by his own desires and enticed. Then, when desire has conceived, it gives birth to sin; and sin, when it is full-grown, brings forth death” (nkjv). It isn’t difficult to see how it all developed.
Idleness (vv. 1–2a). The account of David’s sins is given against the background of Joab’s siege of Rabbah, the key city of the Ammonites (11:1, 16–17; 1 Chron. 20:1–3). The Ammonite army had fled to the walled city of Rabbah (10:14), and Joab and the Israel troops were giving the people time to run out of food and water, and then they would attack. David sent Joab and the troops to lay siege to Rabbah, but he himself remained in Jerusalem. It was probably April or May and the winter rains had stopped and the weather was getting warmer. Chronologists calculate that David was about fifty years old at this time. It’s true that David had been advised by his leaders not to engage actively in warfare (2 Sam. 21:15–17), but he could have been with his troops to help develop the strategy and give moral leadership.
Whatever the cause, good or bad, that kept David in Jerusalem, this much is true: “Satan finds some mischief still for idle hands to do.” Idleness isn’t just the absence of activity, for all of us need regular rest; idleness is also activity to no purpose. When David was finished with his afternoon nap, he should have immediately moved into some kingdom duty that would have occupied his mind and body, or, if he wanted to take a walk, he should have invited someone to walk with him. “If you are idle, be not solitary,” wrote Samuel Johnson; “if you are solitary, be not idle.” Had David followed that counsel, he would have saved himself and his family a great deal of heartache.
When David laid aside his armor, he took the first step toward moral defeat, and the same principle applies to believers today (Eph. 6:10–18). Without the helmet of salvation, we don’t think like saved people, and without the breastplate of righteousness, we have nothing to protect the heart. Lacking the girdle of truth, we easily believe lies (“We can get away with this!”), and without the sword of the Word and the shield of faith, we are helpless before the enemy. Without prayer we have no power. As for the shoes of peace, David walked in the midst of battles for the rest of his life. He was safer on the battlefield than on the battlement of his house!
Imagination (v. 2b). A man can’t be blamed if a beautiful woman comes into his line of vision, but if the man deliberately lingers for a second look in order to feed his lust, he’s asking for trouble. “You heard that it was said, You shall not commit adultery,” said Jesus. “But as for myself, I am saying to you, Everyone who is looking at a woman in order to indulge his sexual passion for her, has already committed adultery with her in his heart” (Matt. 5:27–28 wuest). When David paused and took that longer second look, his imagination went to work and started to conceive sin. That would have been a good time to turn away decisively and leave the roof of his palace for a much safer place. When Joseph faced a similar temptation, he fled from the scene (Gen. 39:11–13). “Watch and pray, lest you enter into temptation. The spirit indeed is willing, but the flesh is weak” (Matt. 26: nkjv).
“Lead us not into temptation” was the prayer David should have prayed. By lingering and looking, David tempted himself. By sending the messengers, he tempted Bathsheba, and by yielding to the flesh, He tempted the Lord.
Information (v. 3). When God forbids something and calls it sin, we shouldn’t try to get more information about it. “I want you to be wise in what is good, and simple concerning evil” (Rom. 16:19). David knew what the law said about adultery, so why did he send to inquire about the woman? Because in his heart, he had already taken possession of her, and now he was anxious to have a rendezvous with her. He learned that Bathsheba was a married woman, and that fact alone should have stopped him from going on with his evil plan. When he found out she was the wife of one of his courageous soldiers who was even then on the battlefield (23:9), he should have gone to the tent of meeting, fallen on his face and cried out to God for mercy. From the brief genealogy given, David should have realized that Bathsheba was the granddaughter of Ahithophel, his favorite counselor (23:34; 16:23). No wonder Ahithophel sided with Absalom when he revolted against his father and seized the kingdom!
David knew the law and should have remembered it and applied it to his own heart. “You shall not covet your neighbor’s wife” (Ex. 20:17); “You shall not commit adultery” (Ex. 20:14). David also knew that the palace servants saw and heard everything that went on and reported it to others, so there wasn’t much chance he could escape detection. The fact that he was showing interest in his neighbor’s wife was probably already public knowledge. But even if nobody but the messenger knew it, the Lord God knew it and didn’t approve of what David was doing. God gave David time to come to his senses and seek forgiveness, but he only hardened his heart and continued to pretend that all was well.