This is another Psalm depicting a time when David was fleeing Saul. This time, Saul had sent murderous men to watch the house where David was and to kill him when they had opportunity.
As the Psalm progresses we see crafty enemies, a cry for deliverance, a compassionate Defender, and a continuous song.
The faith of David is revealed in the last four verses. He knows these murderous men will begin hunting him in the evening and continue throughout the night. Nevertheless, he declares that he will be singing of God's power in the morning!