2 Samuel 7:11-21

11 and [as] from the day that I commanded judges to be over my people Israel; and I will cause you to rest from all your enemies. Moreover Yahweh tells you that Yahweh will make you a house.
12 When your days are fulfilled, and you shall sleep with your fathers, I will set up your seed after you, who shall proceed out of your bowels, 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.
14 I will be his father, and he shall be my son: if he commit iniquity, I will chasten him with the rod of men, and with the stripes of the children of men;
15 but my lovingkindness shall not depart from him, as I took it from Saul, whom I put away before you.
16 Your house and your kingdom shall be made sure for ever before you: your throne shall be established forever.
17 According to all these words, and according to all this vision, so did Nathan speak to David.
18 Then David the king went in, and sat before Yahweh; and he said, Who am I, Lord Yahweh, and what is my house, that you have brought me thus far?
19 This was yet a small thing in your eyes, Lord Yahweh; but you have spoken also of your servant's house for a great while to come; and this [too] after the manner of men, Lord Yahweh!
20 What can David say more to you? for you know your servant, Lord Yahweh.
21 For your word's sake, and according to your own heart, have you worked all this greatness, to make your servant know it.
The World English Bible is in the public domain.