I will give thanks unto thee, O Lord…
“And David spake unto the Lord the words of this song in the day that the Lord had delivered him out of the hand of all his enemies, and out of the hand of Saul” (2 Sam. 22:1).
This passage begins the same as Psalm 18:1-50, word for word except for the formatting, which was done by men in the early 18th century. 2 Sam 22:1 is unique in that it repeats the title.