Passage
Because of Thy word, and according to Thy heart, Thou hast done all this greatness, to cause Thy servant to know <FI>it<Fi> .
Because of Thy word, and according to Thy heart, Thou hast done all this greatness, to cause Thy servant to know <FI>it<Fi> .
2 Samuel 7:19 And yet this <FI>is<Fi> little in Thine eyes, Lord Jehovah, and Thou dost speak also concerning the house of Thy servant afar off; and this <FI>is<Fi> the law of the Man, Lord Jehovah.
2 Samuel 7:20 And what doth David add more to speak unto Thee? and Thou, Thou hast known Thy servant, Lord Jehovah.
2 Samuel 7:21 Because of Thy word, and according to Thy heart, Thou hast done all this greatness, to cause Thy servant to know <FI>it<Fi> .
2 Samuel 7:22 Therefore Thou hast been great, Jehovah God, for there is none like Thee, and there is no God save Thee, according to all that we have heard with our ears.
2 Samuel 7:23 `And who <FI>is<Fi> as Thy people, as Israel--one nation in the earth, whom God hath gone to redeem to Him for a people, and to make for Him a name--and to do for you the greatness--even fearful things for Thy land, at the presence of Thy people, whom Thou hast redeemed to Thee out of Egypt--<FI> among the<Fi> nations and their gods?
The verse centers on "word", "heart", "thou", "hast", "done", "greatness", "cause", and "servant". It is saying that the verse draws attention to "word" and "heart", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 20's "And what doth David add more to..." into verse 22's "Therefore Thou hast been great Jehovah God...", so "word" and "heart" 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 "word" and "heart" with trust shaped by these words, not by a vague optimism outside the passage.