God's Covenant with David

71 Now it came about when the king lived in his house , and the Lord had given him rest on every side from all his enemies , 2 that the king said to Nathan the prophet , "See now , I dwell in a house of cedar , but the ark of God dwells within tent curtains ." 3 Nathan said to the king , " Go , do all that is in your mind , for the Lord is with you."

4 But in the same night the word of the Lord came to Nathan , saying , 5 "Go and say to My servant David , 'Thus says the Lord , " Are you the one who should build Me a house to dwell in? 6 "For I have not dwelt in a house since the day I brought up the sons of Israel from Egypt , even to this day ; but I have been moving about in a tent , even in a tabernacle . 7 " Wherever e I have gone with all the sons of Israel , did I speak a word with one of the tribes of Israel , which I commanded to shepherd My people Israel , saying , 'Why have you not built Me a house of cedar ?' "' 8 "Now therefore, thus you shall say to My servant David , 'Thus says the Lord of hosts , " I took you from the pasture , from following the sheep , to be ruler over My people Israel . 9 " I have been with you wherever e you have gone and have cut off all your enemies from before you; and I will make you a great name , like the names of the great men who are on the earth . 10 "I will also appoint a place for My people Israel and will plant them, that they may live in their own place and not be disturbed again , nor will the wicked e afflict them any more as formerly , 11 even from the day that I commanded judges to be over My people Israel ; and I will give you rest from all your enemies . The Lord also declares to you that the Lord will make a house for you. 12 " When your days are complete and you lie down with your fathers , I will raise up your descendant after you, who will come forth from you, and I will establish his kingdom . 13 " He shall build a house for My name , and I will establish the throne of his kingdom forever e . 14 " I will be a father to him and he will be a son to Me; when he commits iniquity , I will correct him with the rod of men and the strokes of the sons of men , 15 but My lovingkindness shall not depart from him, as I took it away from Saul , whom I removed from before you. 16 " Your house and your kingdom shall endure before Me forever e ; your throne shall be established forever e .""' 17 In accordance with all these words and all this vision , so Nathan spoke to David .

18 Then David the king went in and sat before the Lord , and he said , " Who am I, O Lord GOD , and what is my house , that You have brought me this far ? 19 "And yet this was insignificant in Your eyes , O Lord GOD , for You have spoken also of the house of Your servant concerning the distant future . And this is the custom of man , O Lord GOD . 20 "Again what more can David say to You? For You know Your servant , O Lord GOD ! 21 " For the sake of Your word , and according to Your own heart , You have done all this greatness to let Your servant know . 22 "For this reason e You are great , O Lord GOD ; for there is none like You, and there is no God besides You, according to all that we have heard with our ears . 23 "And what one nation on the earth is like Your people Israel , whom God went to redeem for Himself as a people and to make a name for Himself, and to do a great thing for You and awesome things for Your land , before e Your people whom You have redeemed for Yourself from Egypt , from nations and their gods ? 24 "For You have established for Yourself Your people Israel as Your own people forever e , and You, O Lord , have become their God . 25 "Now therefore, O Lord God , the word that You have spoken concerning Your servant and his house , confirm it forever e , and do as You have spoken , 26 that Your name may be magnified forever e , by saying , 'The Lord of hosts is God over Israel '; and may the house of Your servant David be established before You. 27 "For You, O Lord of hosts , the God of Israel , have made a revelation e to Your servant , saying , ' I will build you a house '; therefore e Your servant has found courage to pray this prayer to You. 28 "Now , O Lord GOD , You are God , and Your words are truth , and You have promised this good thing to Your servant . 29 "Now therefore, may it please You to bless the house of Your servant , that it may continue forever before You. For You, O Lord GOD , have spoken ; and with Your blessing may the house of Your servant be blessed forever ."

God's Covenant with David

171 And it came about, when David dwelt in his house , that David said to Nathan the prophet , "Behold , I am dwelling in a house of cedar , but the ark of the covenant of the Lord is under curtains ." 2 Then Nathan said to David , "Do all that is in your heart , for God is with you." 3 It came about the same night that the word of God came to Nathan , saying , 4 "Go and tell David My servant , 'Thus says the Lord , " You shall not build a house for Me to dwell in; 5 for I have not dwelt in a house since the day that I brought up Israel to this day , but I have gone from tent to tent and from one dwelling place to another. 6 "In all places where I have walked with all Israel , have I spoken a word with any of the judges of Israel , whom I commanded to shepherd My people , saying , 'Why have you not built for Me a house of cedar ?' "' 7 "Now , therefore, thus shall you say to My servant David , 'Thus says the Lord of hosts , "I took you from the pasture , from following the sheep , to be leader over My people Israel . 8 "I have been with you wherever e you have gone , and have cut off all your enemies from before you; and I will make you a name like the name of the great ones who are in the earth . 9 "I will appoint a place for My people Israel , and will plant them, so that they may dwell in their own place and not be moved again ; and the wicked e will not waste them anymore as formerly , 10 even from the day that I commanded judges to be over My people Israel . And I will subdue all your enemies . Moreover, I tell you that the Lord will build a house for you. 11 "When your days are fulfilled that you must go to be with your fathers , that I will set up one of your descendants after you, who will be of your sons ; and I will establish his kingdom . 12 "He shall build for Me a house , and I will establish his throne forever e . 13 " I will be his father and he shall be My son ; and I will not take My lovingkindness away from him, as I took it from him who was before you. 14 "But I will settle him in My house and in My kingdom forever e , and his throne shall be established forever e .""' 15 According to all these words and according to all this vision , so Nathan spoke to David .

16 Then David the king went in and sat before the Lord and said , " Who am I, O Lord God , and what is my house that You have brought me this far ? 17 "This was a small thing in Your eyes , O God ; but You have spoken of Your servant's house for a great while to come , and have regarded me according to the standard of a man of high degree , O Lord God . 18 "What more can David still say to You concerning the honor bestowed on Your servant ? For You know Your servant . 19 "O Lord , for Your servant's sake , and according to Your own heart , You have wrought all this greatness , to make known all these great things . 20 "O Lord , there is none like You, nor is there any God besides You, according to all that we have heard with our ears . 21 "And what one nation in the earth is like Your people Israel , whom God went to redeem for Himself as a people , to make You a name by great and terrible things , in driving out nations from before Your people , whom You redeemed out of Egypt ? 22 " For Your people Israel You made Your own people forever e , and You, O Lord , became their God . 23 "Now , O Lord , let the word that You have spoken concerning Your servant and concerning his house be established forever e , and do as You have spoken . 24 "Let Your name be established and magnified forever e , saying , 'The Lord of hosts is the God of Israel , even a God to Israel ; and the house of David Your servant is established before You.' 25 "For You, O my God , have revealed e to Your servant that You will build for him a house ; therefore e Your servant has found courage to pray before You. 26 "Now , O Lord , You are God , and have promised this good thing to Your servant . 27 "And now it has pleased You to bless the house of Your servant , that it may continue forever before You; for You, O Lord , have blessed , and it is blessed forever ."