This psalm is Solomon’s desire to be a just, righteous, and good king for Israel. He prays for God’s wisdom and justice to help defend the cause of the needy and the poor which is something dear to God’s heart (a very common theme in Deuteronomy and other books in the OT). Solomon prays for success and prosperity for his kingdom, that his people would be taken care of, the others nations would honor Israel because honoring Israel means honoring the Lord. I like verse 15 where Solomon says, “May prayer be made for him continually” which demonstrates his humility to need the prayers of his people. Solomon is the wisest, richest, and probably one of the most powerful kings in Israel, and while it’s difficult to know when the psalm was written to determine when he had amassed all of his wealth, we do know how important prayer is no matter how successful we are.