God's Covenant with David

171 After David was settled in his palace, he said to Nathan the prophet, "Here I am, living in a house of cedar, while the ark of the covenant of the Lord is under a tent." 2 Nathan replied to David, "Whatever you have in mind, do it, for God is with you." 3 But that night the word of God came to Nathan, saying: 4 "Go and tell my servant David, 'This is what the Lord says: You are not the one to build me a house to dwell in. 5 I have not dwelt in a house from the day I brought Israel up out of Egypt to this day. I have moved from one tent site to another, from one dwelling place to another. 6 Wherever I have moved with all the Israelites, did I ever say to any of their leaders[1] whom I commanded to shepherd my people, "Why have you not built me a house of cedar?" ' 7 "Now then, tell my servant David, 'This is what the Lord Almighty says: I took you from the pasture, from tending the flock, and appointed you ruler over my people Israel. 8 I have been with you wherever you have gone, and I have cut off all your enemies from before you. Now I will make your name like the names of the greatest men on earth. 9 And I will provide a place for my people Israel and will plant them so that they can have a home of their own and no longer be disturbed. Wicked people will not oppress them anymore, as they did at the beginning 10 and have done ever since the time I appointed leaders over my people Israel. I will also subdue all your enemies. " 'I declare to you that the Lord will build a house for you: 11 When your days are over and you go to be with your ancestors, I will raise up your offspring to succeed you, one of your own sons, and I will establish his kingdom. 12 He is the one who will build a house for me, and I will establish his throne forever. 13 I will be his father, and he will be my son. I will never take my love away from him, as I took it away from your predecessor. 14 I will set him over my house and my kingdom forever; his throne will be established forever.' " 15 Nathan reported to David all the words of this entire revelation.

16 Then King David went in and sat before the Lord, and he said: "Who am I, Lord God, and what is my family, that you have brought me this far? 17 And as if this were not enough in your sight, my God, you have spoken about the future of the house of your servant. You, Lord God, have looked on me as though I were the most exalted of men. 18 "What more can David say to you for honoring your servant? For you know your servant, 19 Lord. For the sake of your servant and according to your will, you have done this great thing and made known all these great promises. 20 "There is no one like you, Lord, and there is no God but you, as we have heard with our own ears. 21 And who is like your people Israel-the one nation on earth whose God went out to redeem a people for himself, and to make a name for yourself, and to perform great and awesome wonders by driving out nations from before your people, whom you redeemed from Egypt? 22 You made your people Israel your very own forever, and you, Lord, have become their God. 23 "And now, Lord, let the promise you have made concerning your servant and his house be established forever. Do as you promised, 24 so that it will be established and that your name will be great forever. Then people will say, 'The Lord Almighty, the God over Israel, is Israel's God!' And the house of your servant David will be established before you. 25 "You, my God, have revealed to your servant that you will build a house for him. So your servant has found courage to pray to you. 26 You, Lord, are God! You have promised these good things to your servant. 27 Now you have been pleased to bless the house of your servant, that it may continue forever in your sight; for you, Lord, have blessed it, and it will be blessed forever."

The Sons of David

31 These were the sons of David born to him in Hebron: The firstborn was Amnon the son of Ahinoam of Jezreel; the second, Daniel the son of Abigail of Carmel; 2 the third, Absalom the son of Maakah daughter of Talmai king of Geshur; the fourth, Adonijah the son of Haggith; 3 the fifth, Shephatiah the son of Abital; and the sixth, Ithream, by his wife Eglah. 4 These six were born to David in Hebron, where he reigned seven years and six months. David reigned in Jerusalem thirty-three years, 5 and these were the children born to him there: Shammua,[2] Shobab, Nathan and Solomon. These four were by Bathsheba[3] daughter of Ammiel. 6 There were also Ibhar, Elishua,[4] Eliphelet, 7 Nogah, Nepheg, Japhia, 8 Elishama, Eliada and Eliphelet-nine in all. 9 All these were the sons of David, besides his sons by his concubines. And Tamar was their sister.

The Decendants of Solomon

10 Solomon's son was Rehoboam, Abijah his son, Asa his son, Jehoshaphat his son, 11 Jehoram[5] his son, Ahaziah his son, Joash his son, 12 Amaziah his son, Azariah his son, Jotham his son, 13 Ahaz his son, Hezekiah his son, Manasseh his son, 14 Amon his son, Josiah his son. 15 The sons of Josiah: Johanan the firstborn, Jehoiakim the second son, Zedekiah the third, Shallum the fourth. 16 The successors of Jehoiakim: Jehoiachin[6] his son, and Zedekiah. 17 The descendants of Jehoiachin the captive: Shealtiel his son, 18 Malkiram, Pedaiah, Shenazzar, Jekamiah, Hoshama and Nedabiah. 19 The sons of Pedaiah: Zerubbabel and Shimei. The sons of Zerubbabel: Meshullam and Hananiah. Shelomith was their sister. 20 There were also five others: Hashubah, Ohel, Berekiah, Hasadiah and Jushab-Hesed. 21 The descendants of Hananiah: Pelatiah and Jeshaiah, and the sons of Rephaiah, of Arnan, of Obadiah and of Shekaniah. 22 The descendants of Shekaniah: Shemaiah and his sons: Hattush, Igal, Bariah, Neariah and Shaphat-six in all. 23 The sons of Neariah: Elioenai, Hizkiah and Azrikam-three in all. 24 The sons of Elioenai: Hodaviah, Eliashib, Pelaiah, Akkub, Johanan, Delaiah and Anani-seven in all.