They gathered the bones of them that were hanged ... And after that God was intreated for the land. 21:13
Trivia: What did David command his young men to do to Rechab and Baanah?
David danced before the LORD with all his might; and David was girded with a linen ephod. 6:14
King David dances nearly naked in front of God and everybody.
Michal ... said, How glorious was the king of Israel to day, who uncovered himself to day in the eyes of the handmaids of his servants, as one of the vain fellows shamelessly uncovereth himself! ... Therefore Michal the daughter of Saul had no child unto the day of her death. 6:20-23
When Michal criticizes David for exposing himself, God punishes her by having "no child unto the day of her death." Although 21:8 says that she had five sons (which were sacrificed to God by David to stop God from starving people to death).
I will yet be more vile than thus, and will be base in mine own sight: and of the maidservants which thou hast spoken of, of them shall I be had in honour. 6:22
When his wife, Michal, complains about his naked dancing, David says he will be even more disgusting in front of the slave girls.
David sees a woman (Bathsheba) bathing and likes what he sees. so he sends for her and commits adultery with her "for she was purified from her uncleanness." She conceives and bears a son (of course). 11:2-5
David said to Uriah, Go down to thy house, and wash thy feet. 11:8
By saying "go home and wash your feet," David was telling Uriah to "go home and have sex with your wife." This is made clear a few verses later when Uriah tells David why he wouldn't "lie" with his wife.
God gave the wives of King Saul to David. 12:7-8
God is angry at David for having Uriah killed. As a punishment, he will have David's wives raped by his neighbor while everyone else watches. It turns out that the "neighbor" that God sends to do his dirty work is David's own son, Absalom (16:22). 12:11-12
After Bathsheba's baby is killed by God, David comforts her by going "in unto her." She conceives and bears another son (Solomon). 12:24
Ammon (David's son) says to his half-sister Tamar, "Come lie with me, my sister." But she resists, so he rapes her and then sends her away. Tamar, knowing that she now belongs to him (since she was a virgin), expects him to marry her, but he refuses. 13:1-22
Absalom "went in unto his father's concubines in the sight of all Israel." This was according the God's plan as announced in 12:11-12. 16:21-22
To punish his ten concubines for being raped by his son, Absalom (See 16:21-22), David refuses to ever again have sex with them and forces them to "keep house" for the rest of their lives. 20:3