Passage
Restore unto me the joy of thy salvation, and let a willing spirit sustain me.
Restore unto me the joy of thy salvation, and let a willing spirit sustain me.
Psalms 51:10 Create in me a clean heart, O God, and renew a steadfast spirit within me.
Psalms 51:11 Cast me not away from thy presence, and take not the spirit of thy holiness from me.
Psalms 51:12 Restore unto me the joy of thy salvation, and let a willing spirit sustain me.
Psalms 51:13 I will teach transgressors thy ways, and sinners shall return unto thee.
Psalms 51:14 Deliver me from blood-guiltiness, O God, thou God of my salvation: my tongue shall sing aloud of thy righteousness.
The verse centers on "Spirit", "restore", "salvation", "willing", and "sustain". It is saying that the verse draws attention to "Spirit" and "restore", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 11's "Cast me not away from thy presence..." into verse 13's "I will teach transgressors thy ways and...", so "Spirit" and "restore" 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 "Spirit" and "restore" with trust shaped by these words, not by a vague optimism outside the passage.