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:
Berean Study Bible (BSB) - 2 Samuel 22:1 >And David sang this song to the LORD on the day the LORD had delivered him from the hand of all his enemies and from the hand of Saul.