As we look at the gospel concerning Jesus we see that again God is a God who keeps His promises. He pays attention to every detail of His promises whether they were to the nation of Israel or to an individual. In this case God promised David that the eternal king would be of the seed of David.
The fact that God kept His promise to David gives us great comfort in the God who is the promise keeper.
We can trust God because He keeps all His promises.