David offers to build a house for the Lord—The Lord, through Nathan, says He has not asked David to do so—The Lord will establish David’s house and kingdom forever—David offers a prayer of thanksgiving.

Nathan tells David the parable of the ewe lamb—The Lord gave many wives to David, who is now cursed for taking Bathsheba—David fasts and prays for his son, but the Lord takes him—Solomon is born—David conquers the royal city of the Ammonites.

Joab rebukes David for favoring his enemies instead of his friends—David replaces Joab with Amasa—Shimei, who cursed David, is pardoned—Mephibosheth pledges allegiance to David—The men of Judah take David back to Jerusalem.

The Lord sends a famine—David understands that the famine came because Saul smote the Gibeonites, contrary to the oath of Israel—David delivers up seven sons of Saul to be hanged by the Gibeonites—Israel and the Philistines continue their wars.

David praises the Lord in a psalm of thanksgiving—The Lord is his fortress and savior, He is mighty and powerful in deliverance, He rewards men according to their righteousness, He shows mercy to the merciful, His way is perfect, He lives, and blessed is He.