5 Although my house be not so with God; yet he hath made with me an everlasting covenant, ordered in all things, and sure: for this is all my salvation, and all my desire, although he make it not to grow.
5 "If my house were not right with God, surely he would not have made with me an everlasting covenant, arranged and secured in every part; surely he would not bring to fruition my salvation and grant me my every desire.
5 "For does not my house stand so with God? For he has made with me an everlasting covenant, ordered in all things and secure. For will he not cause to prosper all my help and my desire?
5 And this is just how my regime has been, for God guaranteed his covenant with me, Spelled it out plainly and kept every promised word - My entire salvation, my every desire.
5 "Although my house is not so with God, Yet He has made with me an everlasting covenant, Ordered in all things and secure. For this is all my salvation and all my desire; Will He not make it increase?
5 "Is it not my family God has chosen? Yes, he has made an everlasting covenant with me. His agreement is arranged and guaranteed in every detail. He will ensure my safety and success.
Matthew Henry's Commentary on 2 Samuel 23:5
Commentary on 2 Samuel 23:1-7
(Read 2 Samuel 23:1-7)
These words of David are very worthy of regard. Let those who have had long experience of God's goodness, and the pleasantness of heavenly wisdom, when they come to finish their course, bear their testimony to the truth of the promise. David avows his Divine inspiration, that the Spirit of God spake by him. He, and other holy men, spake and wrote as they were moved by the Holy Ghost. In many things he had his own neglect and wrong conduct to blame. But David comforted himself that the Lord had made with him an everlasting covenant. By this he principally intended the covenant of mercy and peace, which the Lord made with him as a sinner, who believed in the promised Saviour, who embraced the promised blessing, who yielded up himself to the Lord, to be his redeemed servant. Believers shall for ever enjoy covenant blessings; and God the Father, Son, and Holy Ghost, shall be for ever glorified in their salvation. Thus pardon, righteousness, grace, and eternal life, are secured as the gift of God through Jesus Christ. There is an infinite fulness of grace and all blessings treasured up in Christ, for those who seek his salvation. This covenant was all David's salvation, he so well knew the holy law of God and the extent of his own sinfulness, that he perceived what was needful for his own case in this salvation. It was therefore all his desire. In comparison, all earthly objects lost their attractions; he was willing to give them up, or to die and leave them, that he might enjoy full happiness, Psalm 73:24-28. Still the power of evil, and the weakness of his faith, hope, and love, were his grief and burden. Doubtless he would have allowed that his own slackness and want of care were the cause; but the hope that he should soon be made perfect in glory, encouraged him in his dying moments.