What does Psalm 31:1 mean?
David prays to the Lord, placing all his trust in God. The Hebrew phrasing implies that David is entirely depending on God for his safety, as would those who rest in a fortress or sanctuary. This appeal for security is based on the Lord's righteousness. Centuries earlier Abraham interceded for Sodom, saying, "Shall not the Judge of all the earth do what is just?" (Genesis 18:25). David believes his plea will lead to a favorable answer; it's likely tied to David's role as the legitimate king of Israel. He reasons that his righteous Lord would not allow him to "be put to shame." That phrase refers to defeat and loss (Psalm 25:2).It is to David's credit that he understood the Lord's desire to protect His people. That desire does not mean God will never allow hardship, but believers can trust the Lord to do what is right. He safeguards those who trust in Him. John 10:29 quotes Jesus as promising, "My Father, who has given [believers] to me, is greater than all, and no one is able to snatch them out of the Father's hand." When trouble confronts a believer, he should trust and not tremble.