2 Samuel 22:1

And David spoke to the Lord the words of this verse, in the day that the Lord freed him from the hand of all his enemies and from the hand of Saul

Other versions

King James Version

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:

English Standard Version

And David spoke to the LORD the words of this song on the day when the LORD delivered him from the hand of all his enemies, and from the hand of Saul.

New International Version

David sang to the LORD the words of this song when the LORD delivered him from the hand of all his enemies and from the hand of Saul.