In Psalm 9, David praises and thanks God for His guidance and care. David acknowledges that “The LORD is a stronghold for the oppressed… those who know your name put their trust in you, for you, O LORD, have not forsaken those who seek you.”
In Psalm 10, the Psalmist writes that God can appear to “hide … in times of trouble” while the wicked prey on the innocent, poor and helpless. But the Psalmist concludes “you do see, for you note mischief and vexation, that you may take it into your hands”. Not only does God see the actions of the wicked, He hears “the desire of the afflicted; you will strengthen their heart; you will incline your ear”.
Some of these ideas are picked up by Jesus in Matthew 6. On the subject of alms, “your Father who sees in secret will reward you.” Jesus encouraged his disciples to lay up treasure in heaven, and not to “be anxious about your life”, knowing that God watches over all creation, even the birds of the air. Instead, “seek first the kingdom of God and his righteousness”.