Psalm 4 says, “In peace I will both lie down and sleep; for you alone, O LORD, make me dwell in safety” Psalm 4:8. The verse ties rest to the LORD’s protection rather than to circumstances.
In Psalm 4:7–8, the speaker contrasts two kinds of happiness. Others rejoice when harvest and drink supplies rise, but the speaker says God has placed a deeper gladness inside him—greater than that kind of prosperity. Because of that settled inner joy, he can end the day calmly: he will lie down and sleep in peace. These lines close Psalm 4, which reads like an evening prayer that moves from distress to steadiness. Earlier, the speaker calls to God for an answer and addresses opponents who shame him, urging them to stop and to turn toward what is right.
Psalm 4:7–8 ends the psalm by contrasting two kinds of happiness and showing where the speaker’s calm comes from. The text explicitly credits God with placing “gladness” inside the speaker’s “heart” (inner life), and it says this joy is greater than the happiness people feel when their “grain” and “new wine” increase.
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with Psalms 4:8, then read the surrounding section so the answer stays connected to the passage's flow.
8In peace I will both lay myself down and sleep, For you, Yahweh alone, make me live in safety. Psalm 5 For the Chief Musician, with the flutes. A Psalm by David.