David consults Nathan about building a temple for God, Ch1 17:1, Ch1 17:2. God sends him an answer by Nathan, informing him that Solomon shall build the house, Ch1 17:3-14. David receives the Divine purpose with humility and joy, and gives God praise, Ch1 17:15-27.