The answer to this question cannot be mistaken now. But that answer was not found so readily in David's time. David's early years bore a close resemblance to that period of the career of Job when the hand of God was heavy upon him, and thick darkness encompassed one on whose tabernacle the candle of the Lord had previously shone very brightly. It pleased God, in infinite love, to make David pass through a long period of hard discipline and salutary training for the office to which he was to be raised. The instances were innumerable in the East of young men of promising character being ruined through sudden elevation to supreme unchallenged power. The case of Saul himself was a sad instance of this doleful effect. It pleased God to take steps to prevent it from happening in the case of David. It is said that when Alcibiades, the distinguished Athenian, was young, Socrates tried hard to withhold him from public life, and to convince him that he needed a long course of inward discipline before he could engage safely and usefully in the conduct of public affairs. But Alcibiades had no patience for this; he took his own way, became his own master, but with the result that he lost at once true loftiness of aim and all the sincerity of an upright soul. We do not need, however, to illustrate from mere human history the benefits that arise from a man bearing the yoke in his youth. Even our blessed Lord, David's antitype, "though He was a Son, yet learned He obedience by the things which He suffered." And how often has the lesson been repeated! What story is more constantly repeated than, on the one hand, that of the young man succeeding to a fortune in early life, learning every wretched habit of indolence and self-indulgence, becoming the slave of his lusts, and after a miserable life sinking into a dishonoured grave? And on the other, how often do we find, in the biography of the men who have been an honour to their race, that their early life was spent amid struggles and acts of self-denial that seem hardly credible, but out of which came their resolute character and grand conquering power? O adversity, thy features are hard, thy fingers are of iron, thy look is stern and repulsive; but underneath thy hard crust there lies a true heart, full of love and full of hope; if only we had grace to believe this, in times when we are bound with affliction and iron; if only we had faith to look forward a very little, when, like the patriarch Job, we shall find that, after all, He who frames our lot is "very pitiful and of tender mercy"!
In the case of David, God's purpose manifestly was to exercise and strengthen such qualities as trust in God, prayerfulness, self-command, serenity of temper, consideration for others, and the hope of a happy issue out of all his troubles. His trials were indeed both numerous and various. The cup of honour dashed from his lips when he had just begun to taste it; promises the most solemn deliberately violated, and rewards of perilous service coolly withheld from him; faithful services turned into occasions of cruel persecution; enforced separation from beloved friends; laceration of feelings from Saul's cruel and bloody treatment of some who had befriended him; calumnious charges persisted in after convincing and generous refutation; ungrateful treatment from those he had benefited, like Nabal; treachery from those he had delivered, like the men of Keilah; perfidy on the part of some he had trusted, like Cush; assassination threatened by some of his own followers, as at Ziklag,--these and many other trials were the hard and bitter discipline which David had to undergo in the wilderness.
And not only was David thus prepared for the great work of his future life, but as a type of the Messiah he foreshadowed the deep humiliation through which He was to pass on His way to His throne. He gave the Old Testament Church a glimpse of the manner in which "it became Him, by whom are all things and for whom are all things, in bringing many sons unto glory, to make the Captain of their salvation perfect through suffering."