1 King David was settled in his palace, and the Lord kept him safe from all his enemies.
2 Then 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!”
3 Nathan answered, “Do whatever you have in mind, because the Lord is with you.”
4 But 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.
6 From 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.
7 In 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.
9 I 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-11 I 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.
12 When you die and are buried with your ancestors, I will make one of your sons king and will keep his kingdom strong.
13 He will be the one to build a temple for me, and I will make sure that his dynasty continues for ever.
14 I will be his father, and he will be my son. When he does wrong, I will punish him as a father punishes his son.
15 But I will not withdraw my support from him as I did from Saul, whom I removed so that you could be king.
16 You will always have descendants, and I will make your kingdom last for ever. Your dynasty will never end.’ ”
17 Nathan told David everything that God had revealed to him.
18 Then 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.
19 Yet 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!
20 What more can I say to you! You know me, your servant.
21 It was your will and purpose to do this; you have done all these great things in order to teach me.
22 How great you are, Sovereign Lord! There is none like you; we have always known that you alone are God.
23 There 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.
24 You 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.
26 Your 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.
27 Almighty 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.
29 I 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.”