We read this passage on Sunday. Once David had become firmly established as King of Israel, God promises to continue his dynasty through many generations. David responds with humility and praise. He realizes in this moment that God is giving him a gift; he didn't earn this power. As we know, the future for David will include temptation, and sometimes he will be corrupted by his power. David is far from perfect, but he strives to follow God. When he messes up, he repents and seeks God again with prayer.
God uses all of us for ministry in the world. We are not kings or queens, but we all have power we can use for good or for evil. We all face temptation and choices, so let's follow David's example of seeking the way forward with prayer.