Thought from Today’s Old Testament Passage:
11:1-5—One evening, restless on his bed… David arose, went to a rooftop of the palace, and from there happened to observe Bathsheba… the wife of his neighbor Uriah. She was bathing out in the open. One may not fault David for perhaps seeking the cooler breezes of the late afternoon, but Bathsheba, knowing the proximity of her courtyard to the palace, probably harbored ulterior designs toward the king. Yet David’s submission to her charms is inexcusable, for the deliberate steps he followed to bring her to the palace required more than enough time for him to resist the initial, impulsive temptation (cf. James 1:14-15)
Having discovered her identity, he sent for her at once and, assured of her ritual purity (cf. Lev. 12:2-5; 15:19-28), had intercourse with her. The bathing itself may have been for the purpose of ritual purification and would therefore not only advertise Bathsheba’s charms but would serve as a notice to the king that she was available to him.
(John F. Walvoord, Roy B. Zuck, The Bible Knowledge Commentary (Wheaton, IL: Victor Books, 1985) p. 467.)