Thou art my hiding place - An allusion, probably, to the city of refuge: "Thou shalt preserve me from trouble." The avenger of blood shall not be able to overtake me. And being encompassed with an impregnable wall, I shall feel myself encompassed with songs of deliverance - I shall know that I am safe.
Thou art my hiding-place - See Psalm 9:9, note; Psalm 27:5, note. The idea is that he would be safe under the protection of God. The general allusion is to concealment from an enemy, but the immediate reference is to sin, and the consequences of sin. By fleeing to God he would be secure against all the evils which sin brings upon human beings.
Thou shalt preserve me from trouble - Particularly the trouble which comes from guilt; sadness and sorrow in the remembrance of sin; apprehension of the wrath of God in the world to come; the consequences of guilt in that unseen and eternal world.
Thou shalt compass me about with songs of deliverance - With songs expressive of deliverance or salvation. It is not merely one song or a single expression of gratitude; in his pathway to another world he will be attended with songs and rejoicings; he will seem to be surrounded with songs He himself will sing. Others, redeemed like him, will sing, and will seem to chant praises because He is redeemed and forgiven. All nature will seem to rejoice over his redemption. Nature is full of songs. The birds of the air; the wind; the running stream; the ocean; the seasons - spring, summer, autumn, winter; hills, valleys, groves - all, to one redeemed, seem to be full of songs. The feeling that we are pardoned fills the universe with melody, and makes the heaven and the earth seem to us to be glad. The Christian is a happy man; and he himself being happy, all around him sympathizes with him in his joy.
Thus in a sacred song to be sung in the public assemblies of his people, in the presence of the court—priests and judges, princes and men of war—and which would preserve to the latest generation the knowledge of his fall, the king of Israel recounted his sin, his repentance, and his hope of pardon through the mercy of God. Instead of endeavoring to conceal his guilt he desired that others might be instructed by the sad history of his fall. PP 725.1
David's repentance was sincere and deep. There was no effort to palliate his crime. No desire to escape the judgments threatened, inspired his prayer. But he saw the enormity of his transgression against God; he saw the defilement of his soul; he loathed his sin. It was not for pardon only that he prayed, but for purity of heart. David did not in despair give over the struggle. In the promises of God to repentant sinners he saw the evidence of his pardon and acceptance. PP 725.2
“For Thou desirest not sacrifice; else would I give it:
Thou delightest not in burnt offering.
The sacrifices of God are a broken spirit:
A broken and a contrite heart, O God, Thou wilt not despise.”
PP 725.3