Passage
And thy house and thy kingdom shall be made firm for ever before thee: thy throne shall be established for ever.
And thy house and thy kingdom shall be made firm 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 sons of men;
2 Samuel 7:15 but my mercy shall not depart away from him, as I took it from Saul, whom I put away from before thee.
2 Samuel 7:16 And thy house and thy kingdom shall be made firm 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 to David.
2 Samuel 7:18 And king David went in and sat before Jehovah, and said, Who am I, Lord Jehovah, and what is my house, that thou hast brought me hitherto?
The verse centers on "house", "kingdom", "shall", "firm", "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 mercy shall not depart away..." 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.