David is pursued into exile by his son in a mutiny, and he cries out to God.
This psalm reassures the person in distress: "I lie down, and I sleep; I awake, for God supports me." Due to this verse, this chapter is included in the prayers before a person goes to sleep at night.