Psalms 140:12-13

Psalms 140:12-13

[12] I know  that the LORD  will maintain  the cause  of the afflicted,  and the right  of the poor.  [13] Surely the righteous  shall give thanks  unto thy name:  the upright  shall dwell  in thy presence. 

What does Psalms 140:12-13 Mean?

Contextual Meaning

David could be confident that God would deliver him because He had promised to help the afflicted and the poor in the Mosaic Law. This salvation would result in the righteous thanking God. They could then continue to live before Him in peace.
This psalm encourages God"s people to call on Him in distress when wicked people oppress them. We can have confidence in His promises to vindicate the just in situations such as this. His destruction of the wicked will ultimately glorify His name, as well as provide salvation for His own.