Notwithstanding all the trauma of his life, the oppression of his enemies, the intrigue of his pseudo-friends against his character, the moments of failure in the circumstances which faced him, the sweet Psalmist of Israel was continually praising the Eternal, and in this chapter is recorded his greatest Psalm. He is revealed as the man after the Spirit's own heart, whose love for his God overshadows all the dark hours of despair. He pours out his heart in love and gratitude to Yahweh his Deliverer.

The Psalm is included at this point in the historical record possibly as the best illustration of David's life and character; the noblest specimen of his poetry. It was originally composed perhaps about the time referred to in 2 Sam. 7:1, for whilst it speaks of past triumphs over domestic enemies (vv. 39-42; cp. Psa. 18:39), it speaks of battles yet to be won in Yahweh's Name (v. 4; Psa. 18:3), and of foreign powers who would be forced to submit (vv. 45-46; Psa. 18:44-45).

It was perhaps included in 2 Samuel at this place because all that it predicted as far as David was concerned had come to pass, and was therefore illustrative of the greater prophecy contained therein -- that relating to Messiah (v. 51; Psa. 18:50), of whom David was a grand type. It also emphasised the fundamental righteousness of David's character in spite of his sin which Yahweh had blotted out, but which his fellows would not.

The expressions of innocence (vv. 21-24; Psa. 18:21-23) still apply, for David faithfully endeavoured to make full restitution along the lines he had promised (Psa. 51:13-14). GEM