v1-3, It is possible that this Psalm was written during David’s old age, If David fell sick and thought he may die, then he could be very concerned about what his enemies would do to take advantage of his children’s animosity towards each other. Adonijah & Solomon were in competition for the throne. But someone was praying for David, 1st Kings 1:28-35. Please read James 5:14-15 for faith in the Lord’s ability to heal the sick. There are 3 passages in the Psalms attributed to David, stating he suffered severe sickness which brought him close to death. Psalm 30:2-3, 31:7-10, 32:3-4. But outside of the Psalms we have no specific description of this illness.
v4-5, How beautiful to know that God’s anger lasts only for a moment. God has the power and ability to forget our sins when we meet His conditions for grace in our repentance. God’s anger does not taint the way He deals with us for the rest of our lives. This is a quality that is very difficult for us to attain, but an important characteristic to work on in our lives. We have the tendency to keep our anger burning for months. Sometimes we like to be angry at others and use it as a device to sway above others, manipulating them to do what we want because of our anger or distrust of them. God does not treat us this way and we should not treat others this way, since we ourselves have been forgiven of so much! Ephesians 4:32 & 2nd Corinthians 4:17.
v6-7, The riches of King David, led him to trust in wealth, at one point in his life, it got him into trouble with the Lord. Jesus warns us of this attitude, Luke 12:19. If David fell prey to the false god of money, the Lord had warned him in The Law, of the awful consequences. “… On that day I will become angry with them and forsake them; I will hide My face from them, and they will be destroyed. Many disasters and difficulties will come upon them, and on that day they will ask, ‘Have not these disasters come upon us because our God is not with us?’ And I will certainly hide My face on that day because of all their wickedness in turning to other gods”, Duet. 31:16-18
v8-10, David’s questions show the meaningless waste of his life, if God chooses to let him die before his throne is claimed by one who will build the Temple. The apostle Paul teaches us about the futility of anxiety, encouraging us to pray with gratitude for whatever blessings we know of to date, Philippians 4:6-7. Paul also teaches Christians in Thessalonica, “We…sent Timothy…to establish you and encourage you concerning your faith that no one should be shaken by these afflictions; for you yourselves know that we are appointed to this. For, in fact, we told you before when we were with you that we would suffer tribulation, just as it happened, and you know” (1 Thessalonians 3:1-4).
v11, The inevitable joy which David hopes in, and indeed experiences is in this Psalm, as it is in the teachings and life of Jesus. Christ the man of sorrows, rejoiced, Luke 10:21. He taught us that God still rejoices, even if it is in only one wayward foolish child coming back to him, Lk. 15:22.
v12, The amazing grace & mercy of God, when felt upon the human heart forgiven, evokes eternal gratitude, see Acts 4:20 & Revelation 7:12. Do you know of this experience?