Verses 1-51
David's Thanksgiving Psalm
This beautiful poem has also been preserved as the Eighteenth Psalm. It probably belongs to the earlier portion of David's reign, when his conquests and God's promise (2 Samuel 7) were still fresh in his mind. See on Psalms 18.