1King David was settled in his palace, and the LORD kept him safe from all his enemies. 2Then the king said to the prophet Nathan, “Here I am living in a house built of cedar, but God's Covenant Box is kept in a tent!”
3Nathan answered, “Do whatever you have in mind, because the LORD is with you.” 4But that night the LORD said to Nathan, 5“Go and tell my servant David that I say to him, ‘You are not the one to build a temple for me to live in. 6From the time I rescued the people of Israel from Egypt until now, I have never lived in a temple; I have travelled round living in a tent. 7In all my travelling with the people of Israel I never asked any of the leaders that I appointed why they had not built me a temple made of cedar.’
8“So tell my servant David that I, the LORD Almighty, say to him, ‘I took you from looking after sheep in the fields and made you the ruler of my people Israel. 9I have been with you wherever you have gone, and I have defeated all your enemies as you advanced. I will make you as famous as the greatest leaders in the world. 10-11I have chosen a place for my people Israel and have settled them there, where they will live without being oppressed any more. Ever since they entered this land, they have been attacked by violent people, but this will not happen again. I promise to keep you safe from all your enemies and to give you descendants. 12When you die and are buried with your ancestors, I will make one of your sons king and will keep his kingdom strong. 13He will be the one to build a temple for me, and I will make sure that his dynasty continues for ever. 14I will be his father, and he will be my son. When he does wrong, I will punish him as a father punishes his son. 15But I will not withdraw my support from him as I did from Saul, whom I removed so that you could be king. 16You will always have descendants, and I will make your kingdom last for ever. Your dynasty will never end.’ ”
17Nathan told David everything that God had revealed to him.
18Then King David went into the Tent of the LORD's presence, sat down and prayed, “I am not worthy of what you have already done for me, Sovereign LORD, nor is my family. 19Yet now you are doing even more, Sovereign LORD; you have made promises about my descendants in the years to come. And you let a man see this, Sovereign LORD! 20What more can I say to you! You know me, your servant. 21It was your will and purpose to do this; you have done all these great things in order to teach me. 22How great you are, Sovereign LORD! There is none like you; we have always known that you alone are God. 23There is no other nation on earth like Israel, whom you rescued from slavery to make them your own people. The great and wonderful things you did for them have spread your fame throughout the world. You drove out other nations and their gods as your people advanced, the people whom you set free from Egypt to be your own. 24You have made Israel your own people for ever, and you, LORD, have become their God.
25“And now, LORD God, fulfil for all time the promise you made about me and my descendants, and do what you said you would. 26Your fame will be great, and people will for ever say, ‘The LORD Almighty is God over Israel.’ And you will preserve my dynasty for all time. 27Almighty LORD, God of Israel! I have the courage to pray this prayer to you, because you have revealed all this to me, your servant, and have told me that you will make my descendants kings.
28“And now, Sovereign LORD, you are God; you always keep your promises, and you have made this wonderful promise to me. 29I ask you to bless my descendants so that they will continue to enjoy your favour. You, Sovereign LORD, have promised this, and your blessing will rest on my descendants for ever.”