When David writes this Psalm his situation is dire. His son Absalom leads an army against him, but David is protected by his Shield. This psalm teaches us salvation belongs to the Lord. When we have confidence in this salvation, our other circumstances are less troubling.