Passage
And thy house and thy kingdom shall be made sure for ever before thee: thy throne shall be established for ever.
And thy house and thy kingdom shall be made sure for ever before thee: thy throne shall be established for ever.
2 Samuel 7: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;
2 Samuel 7:15 but my lovingkindness shall not depart from him, as I took it from Saul, whom I put away before thee.
2 Samuel 7:16 And thy house and thy kingdom shall be made sure for ever before thee: thy throne shall be established for ever.
2 Samuel 7:17 According to all these words, and according to all this vision, so did Nathan speak unto David.
2 Samuel 7:18 Then David the king went in, and sat before Jehovah; and he said, Who am I, O Lord Jehovah, and what is my house, that thou hast brought me thus far?
The verse centers on "house", "kingdom", "shall", "sure", "ever", "before", "thee", and "throne". It is saying that the verse draws attention to "house" and "kingdom", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 15's "but my lovingkindness shall not depart from..." into verse 17's "According to all these words and according...", so "house" and "kingdom" belong inside that flow. In 2 Samuel context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "house" and "kingdom" with trust shaped by these words, not by a vague optimism outside the passage.