2 Samuel 23:1-7
Verse 1 of this chapter tells us that these are the last words of David. However there is more of his story after this. We can interpret that 2 ways. Number 1, the writer of 2 Samuel chose to put them out of order because they fit nicely with the looking back in chapter 22 or (number 2) we can assume that by last words they mean his last words that he wrote down for future generations, like his Psalms. I personally think they mean number 2, that these are the last word David wrote down for future generations, not the actual last words to come out of his mouth before he died. But we don’t know for sure.
David’s ‘final’ words speak of what a godly ruler should be like and foretells a future king to come: Jesus. Verse 4 talks about Him being like the light of the morning sun. God has promised David that kings will come from his descendants, but more importantly, the King of Kings will be his descendant. David’s final words for the following generations point them toward the best gift God would ever give, Jesus.
David himself was looking forward to the coming gift of salvation that would be given to all mankind. In verse 5, David makes it clear that his family is not worthy of this honor but God has promised and he knows it will come to pass. David’s final words to us were to look for the King of Kings and follow Him!
Look at Luke 3:23-31 (genealogy of Mary) and Matthew 1:6-16 (genealogy of Joseph) and see how Jesus’ earthly family was related to the mighty King David.