The prayer of David is based on and a response to the promise of God. He has courage to ask the Lord to establish his house because the Lord has revealed to David that this is his intention. In this, David shows us a godly and biblical pattern for prayer.1 We are to pray and speak to God in accordance with what he has revealed (see also Matthew 6:9–13).
27 Car toi-même, Eternel des armées, Dieu d'Israël, tu t'es révélé à ton serviteur, en disant: Je te fonderai une maison! C'est pourquoi ton serviteur a pris courage pour t'adresser cette prière.