“For you are my rock and my fortress; and for your name’s sake you lead me and guide me; you take me out of the net they have hidden for me, for you are my refuge. Into your hand I commit my spirit; you have redeemed me, O Lord, faithful God.” -Psalm 31:3–5
David’s petition in this case does not seem like it is being made from any imminent danger, yet David expresses his confidence in the Lord in no uncertain terms. He is a rock, a fortress, a refuge—one who removes the snare before he can step in it.
For this, David commits his spirit into the Lord’s hand. Here spirit is used to express life. David has committed his life to the faithful one, the Lord who has redeemed him. Redeemed is the Hebrew Padah, to ransom or buy back. Though David had not likely anticipated the cross in which the Suffering Servant, Jesus, would die to pay his sin debt, he understood the Lord rescued him from the snare of enemies who sought to take his life. This salvation is to have been ransomed from death.
In all this, we cannot forget how our Savior sanctified this passage by his own use of it on the cross: “Then Jesus, calling out with a loud voice, said, “Father, into your hands I commit my spirit!” And having said this he breathed his last.” -Luke 23:46