Both riches and honor come from you, and you rule over all. In your hand are power and might, and in your hand it is to make great and to give strength to all.
1 Chronicles 29:12
This is part of the last prayer that the author of Chronicles records from David. It is what is on the king's heart in his last days on earth. David has seen two dreams come to fruition: First, the provision for the building of the temple in Jerusalem for the worship of Yahweh... a building he considers to be "God's palace" (1 Chronicles 29:1). Secondly, David has seen the secure transition of power and the throne to his son Solomon.
These important events lead to great rejoicing in David and frame this worship prayer. David will die, but his spiritual legacy will live on within the temple worship and his promised dynasty will be blessed by God through the reign of Solomon.
That is how riches and honor come from God's hand to David. It is how God made him, and his throne great. And as David prospered and his son prospered, so did Jerusalem and all of Israel. God blessed the line of David in order to bless all. And through Jesus, the great Son of David, we all still know true riches, honor, might, strength, and great grace for any who would believe.