Psalms 72 starts with Solomon asking for God’s love of justice and for help to administer justice as king. Then it points to the future king (Jesus) and his concern and compassion for the poor and oppressed.

“He will rescue the poor when they cry to him; he will help the oppressed, who have no one to defend them. He feels pity for the weak and the needy, and he will rescue them. He will redeem them from oppression and violence, for their lives are precious to him.”
Psalms 72:12‭-‬14 NLT