For at least ten years, David had been in “tight” places, but now the Lord had brought him out “into a spacious place” (v. 20 niv). God could give him a larger place because David had been enlarged in his own life through his experiences of trial and testing. “Thou hast enlarged me when I was in distress” (Ps. 4:1). David had often cried out, “The troubles of my heart are enlarged,” but at the same time, God was enlarging His servant and preparing him for a bigger place (18:19, 36). “I called on the Lord in distress; the Lord answered me and set me in a broad place” (Ps. 118: nkjv). In the school of life, God promotes those who, in times of difficulty, learn the lessons of faith and patience (Heb. 6:12), and David had learned his lessons well.
David’s righteousness (vv. 21–25). A superficial reading of these verses might lead us to believe that David was bragging about himself, but this isn’t the case at all. David was praising the Lord for enabling him to live a blameless life in dangerous and uncomfortable situations. Just think of how difficult it would be to keep the law of the Lord in the Judean wilderness while fleeing for your life! In all that he did, David sought to please the Lord, obey His law, and trust His promises. These verses describe David as a man of integrity (see Ps. 78:72), a “man after God’s own heart” (1 Sam. 13:14). David knew and claimed God’s covenant promises and the Lord honored him. King Saul violated the terms of the covenant, and the Lord judged him.
This doesn’t mean that David was spotless and always did the right thing. He had his days of despair when he fled to the enemy for help, but these were incidents in a life that was otherwise wholly devoted to the Lord. David honored only the Lord and never turned to idols. He did not dishonor the name of the Lord; he was careful to love and protect his parents (1 Sam. 22:1–4); and when he had opportunities to slay Saul, David refused to touch the Lord’s anointed and commit murder. There is no evidence that during his “battle years” David was a thief, an adulterer, or a false witness against others. (Actually, it was Saul and his men who lied about David.) David was a generous man who didn’t cultivate a covetous heart. We don’t know how David honored the Sabbath when he was away from the covenant community, but there’s no reason to believe that he broke the fourth commandment. Measured by the righteousness of the law, David was a man with clean hands and a pure heart (Ps. 24:3–6), and he received his reward from the Lord.
The Lord’s faithfulness (vv. 26–28). The Lord never violates His own attributes. God deals with people according to their attitudes and their actions. David was merciful to Saul and spared his life on at least two occasions, and the Lord was merciful to David. “Blessed are the merciful: for they shall obtain mercy” (Matt. 5:7). David was faithful to the Lord, and the Lord was faithful to Him. David was upright; he was single-hearted when it came to serving God. He was not sinless—no man or woman on earth is—but he was blameless in his motives and loyal to the Lord. In that sense, his heart was pure: “Blessed are the pure in heart: for they shall see God” (Matt. 5:8).
Unlike Saul, David was not perverse in heart but submitted to the will of God (v. 27). The NIV reads, “to the crooked you show yourself shrewd,” reminding us that faith is living without scheming or making excuses, two practices at which Saul excelled. The Hebrew word translated “froward” (kjv) or “crooked” (niv) comes from a root that means “to wrestle.” David didn’t fight God or God’s will, but Saul did, and that’s why David was exalted but Saul was abased (1 Peter 5:5–6; James 4:10).
Finally, David was humble and broken before the Lord, while Saul promoted himself and put himself first. “You rescue those who are humble, but your eyes are on the proud to humiliate them” (v. 28 nlt). Hannah touched on this important theme in her song to the Lord (1 Sam. 2:3, 7–8). When Saul began his reign, he stood head and shoulders above everybody else (1 Sam. 10:23–24), but at the end of his life, he fell on his face in a witch’s house (28:20) and fell as a suicide on the battlefield (31:1–6). “Therefore let him who thinks he stands take heed lest he fall” (1 Cor. 10: nkjv). David fell on his face in submission, and the Lord lifted him up in honor. Saul lifted himself up and eventually fell on his face in humiliation.
God is always faithful to His character and His covenant. Knowing the character of God is essential to knowing and doing the will of God and pleasing His heart. David knew God’s covenant so he understood what God expected of him. The character of God and the covenant of God are the foundations for the promises of God. If we ignore His character and covenant, we will never be successful in claiming His promises.