David spake unto the Lord the words of this song - This is the same in substance, and almost in words, with Psalm 18:1-50, and therefore the exposition of it must be reserved till it occurs in its course in that book, with the exception of a very few observations, and Dr. Kennicott's general view of the subject.
David composed many of the Psalm in the wilderness, to which he was compelled to flee for safety. Saul even pursued him there, and David was several times preserved from falling into the hands of Saul by the special interposition of Providence. While David was thus passing through severe trials and hardships, he manifested an unwavering trust in God, and was especially imbued with his Spirit, as he composed his songs which recount his dangers and deliverances, ascribing praise and glory to God, his merciful preserver. In these Psalm is seen a spirit of fervor, devotion and holiness. He sung these songs, which express his thoughts and meditations of divine things, accompanied with skillful music upon the harp and other instruments. The Psalm contained in 2 Samuel 22, was composed while Saul was hunting him to take his life. Nearly all the sacred songs of David were arranged in the earlier period of his life, while he was serving the Lord with integrity and purity of heart. 4aSG 93.1
David purposed to build a house for God, in which he could place the sacred ark, and to which all Israel should come to worship. The Lord informed David through his prophet that he should not build the house, but that he should have a son who should build a house for God. “I will be his father, and he shall be my son. If he commit iniquity, I will chasten him with the rod of men, and with the stripes of the children of men. But my mercy shall not depart away from him, as I took it from Saul, whom I put away before thee.” God manifests pity and compassion for the weakness of erring man, and promises, if he transgress, to punish him, and if he repent, to forgive him. 4aSG 93.2
The closing years of David's life were marked with faithful devotion to God. He mourned over his sins and departure from God's just precepts, which had darkened his character, and given occasion for the enemies of the Lord to blaspheme. The Lord, through his angel, instructed David, and gave him a pattern of the house which Solomon should build for him. An angel was commissioned to stand by David while he was writing out, for the benefit of Solomon, the important directions in regard to the arrangement of the house. David's heart was in the work. He manifested an earnestness and devotion in making extensive preparations for the building, and spared neither labor nor expense, but made large donations from his own treasury, thereby setting a noble example before his people, which they did not hesitate with a willing heart to follow. 4aSG 94.1Read in context »