"Though I walk in the midst of trouble, thou wilt revive me: thou shalt stretch forth thine hand against the wrath of mine enemies, and thy right hand shall save me." (Psalm 138:7)
David makes three simple points in his final admonition to those who struggle with trusting in God's lovingkindness and truth.
First, God loves His saints, but those with a pride problem are not going to gain His attention (Psalm 138:6). This is somewhat basic to Christian doctrine. Pride is one of the seven things that God hates (Proverbs 6:16-19). God responds to the desire of the humble person (Psalm 10:17) and He stays near to those who have a broken heart or a contrite spirit (Psalm 34:17).
Second, God will revive us when we are in trouble (our text). The promise is about the reviving and the saving. That is, we may gain God's sufficient grace to endure (as in the case of Paul's "thorn in the flesh," 2 Corinthians 12:7) rather than a physical cure. We may receive the ability to be victorious in the face of opposition (as during Paul's ministry to Ephesus, 1 Corinthians 16:8-9) rather than relief from the circumstances. We may, indeed, be delivered from the pressure of the enemies or have God's miracle performed in our lives, but whatever the circumstantial occasion, God will respond for our good.
Third, God will bring about our perfection (Psalm 138:8). That term, both in the Old and the New Testaments, relates to completing God's work or purpose. Here, it is specifically related to that which concerns the saints of God. The sovereign Lord will see to it that His chosen will make it (1 Peter 2:9). There is no question about this. God's mercy is always refreshed. There is no limit to His forgiveness. Nothing about who we are will defeat God's plan for us (Philippians 2:13). HMM III