Shared ground
Psalm 32:10–11 closes the psalm by placing two outcomes side by side. The text explicitly says the “wicked” experience “many sorrows,” while the person who “trusts in Yahweh” is “surrounded” by steadfast love (often translated “lovingkindness,” Hebrew hesed). Then it explicitly calls the “righteous” and the “upright in heart” to express joy—“be glad,” “rejoice,” and “shout for joy”—and it locates that joy “in Yahweh.” is portrayed as something encompassing and protective, not merely a passing feeling.
Where interpretation differs
One question is how absolute the contrast is. Some read “many sorrows” and “surrounded by lovingkindness” as a general pattern (often true over time), not a promise that every moment will look that way. Others read the lines more strongly as reliable outcomes set by God, even if the timing is not immediate.
Another question is what kind of “surrounding” is meant. Some take it mainly as God’s protective care shown in lived circumstances; others emphasize an inner assurance of being held by God’s covenant love. Both readings aim to do justice to the “surround” image.
A smaller question is whether “righteous” and “upright in heart” name the same people in two ways, or whether the second phrase tightens the focus to inner integrity rather than outward status.
Why the disagreement exists
The poem uses compressed, proverbial language typical of wisdom-like summaries: it describes life in broad strokes rather than narrating a specific episode. Also, “in Yahweh” can be heard as joy directed toward him, joy because of what he does, or joy grounded in relationship with him; the Hebrew phrasing allows these to overlap.
What this passage clearly contributes
These verses contribute a final summary: life set against Yahweh brings layered distress, while trusting Yahweh is matched with encompassing covenant love; and the fitting communal response to Yahweh’s deliverance and guidance is open, audible joy. The closing shout is not random celebration—it is tied to character (“righteous,” “upright in heart”) and to its object (“in Yahweh”).