David had been a fugitive for perhaps ten years, and then he reigned over Judah for seven years and six months. By the time he became king of all the tribes and made Jerusalem his capital, he had seen many battles and would fight many more. But God prepares and equips His leaders, and David had no fear of the future (18:34, 45; 55:21; 78:9). (For the image of God as Rock and fortress, see 18:2, and as shield, see 3:3.) The phrase “my goodness” (kjv) is translated “my lovingkindness” in the New American Standard Bible and “my loving God” in the New International Version. (See 18:2, 47.) The associating of love and war is unusual, but “You who love the Lord, hate evil” (97: nkjv). David inherited twelve tribes that did not always get along with each other, and during the years immediately following the death of King Saul, tribal rivalry and conflict created numerous problems. But God brought about political unity within the nation and gave David victory against the enemies outside the nation (18:47–48).
David’s position and reputation did not go to his head, for he asked, “Who am I that God should do this for me?” The statements in verses 3–4 remind us of 8:4, and this is a reminder that we need, especially when we think we can handle life without trusting God. The Hebrew word translated “breath” is habel, the name of one of Adam’s sons (Abel), and the word translated “vanity” thirty-eight times in Ecclesiastes. (See also 39:4–6, 22; 62:9; 78:33; 94:11.) The “shadow” image is found in 102:11; 109:23; Job 8: and 14:2; and Ecclesiastes 6: and 8:13. How helpless we are without the Lord!