Passage
Do good in thy good pleasure unto Zion; build the walls of Jerusalem.
Do good in thy good pleasure unto Zion; build the walls of Jerusalem.
Psalms 51:16 For thou desirest not sacrifice; else would I give it: thou hast no pleasure in burnt-offering.
Psalms 51:17 The sacrifices of God are a broken spirit: a broken and a contrite heart, O God, thou wilt not despise.
Psalms 51:18 Do good in thy good pleasure unto Zion; build the walls of Jerusalem.
Psalms 51:19 Then shalt thou have sacrifices of righteousness, burnt-offering, and whole burnt-offering; then shall they offer up bullocks upon thine altar.
The verse centers on "good", "pleasure", "zion", "build", "walls", and "jerusalem". It is saying that the verse draws attention to "good" and "pleasure", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 17's "The sacrifices of God are a broken..." into verse 19's "Then shalt thou have sacrifices of righteousness...", so "good" and "pleasure" belong inside that flow. In Psalms context, the local focus is worship, trust, the LORD's kingship, and covenant mercy.
A plain takeaway is to answer the verse's own emphasis on "good" and "pleasure" with trust shaped by these words, not by a vague optimism outside the passage.