Explanation

Psalm 112:4 describes the righteous person as gracious, compassionate, and righteous, reflecting qualities rooted ultimately in God's own character. The psalm celebrates the life of those who fear the LORD rather than directly predicting the personal character of the Messiah.

Matthew 9:36 repeatedly portrays Jesus' compassion in action; seeing the crowds harassed and helpless, He has compassion on them because they are like sheep without a shepherd. The connection with Psalm 112:4 is therefore exemplary and theological rather than direct prophecy. Jesus perfectly embodies the gracious and compassionate righteousness commended in the psalm, but the verse's original grammatical subject is the righteous person generally, not specifically the coming Christ.