2 Samuel 7:27

27 For Thou, Jehovah of Hosts, God of Israel, Thou hast uncovered the ear of Thy servant, saying, A house I build for thee, therefore hath Thy servant found his heart to pray unto Thee this prayer;

2 Samuel 7:27 Meaning and Commentary

2 Samuel 7:27

For thou, O Lord of hosts, God of Israel
As he is called in ( 2 Samuel 7:26 ) :

hast revealed to thy servant;
which he otherwise could not have known:

saying, I will build thee an house;
see ( 2 Samuel 7:11 ) ;

therefore hath thy servant found in his heart to pray this prayer unto
thee;
found his heart disposed to this service, or found freedom and boldness in him to put up this prayer to God; what encouraged and emboldened him to do it was the gracious promise of God, that he would build up his family, and establish his kingdom; or otherwise he could not have taken such liberty, and used such boldness with God in prayer, as to have requested it of him.

2 Samuel 7:27 In-Context

25 `And now, Jehovah God, the word which Thou hast spoken concerning Thy servant, and concerning his house, establish unto the age, and do as Thou hast spoken;
26 And Thy Name is great unto the age, saying, Jehovah of Hosts [is] God over Israel, and the house of Thy servant David is established before Thee,
27 For Thou, Jehovah of Hosts, God of Israel, Thou hast uncovered the ear of Thy servant, saying, A house I build for thee, therefore hath Thy servant found his heart to pray unto Thee this prayer;
28 And now, Lord Jehovah, Thou [art] God Himself, and Thy words are truth, and Thou speakest unto Thy servant this goodness,
29 And now, begin and bless the house of Thy servant, to be unto the age before Thee, for Thou, Lord Jehovah, hast spoken, and by Thy blessing is the house of Thy servant blessed -- to the age.'
Young's Literal Translation is in the public domain.