King James Version (KJV)
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:
Modern English
David spoke to Yahweh the words of this song in the day that Yahweh delivered him out of the hand of all his enemies, and out of the hand of Saul,
Hebrew
וַיְדַבֵּ֤ר דָּוִד֙ לַֽיהוָ֔ה אֶת־דִּבְרֵ֖י הַשִּׁירָ֣ה הַזֹּ֑את בְּיוֹם֩ הִצִּ֨יל יְהוָ֥ה אֹת֛וֹ מִכַּ֥ף כָּל־אֹיְבָ֖יו וּמִכַּ֥ף שָׁאֽוּל׃
vaydaber david layhvah ʾet-dibrey hashiyrah hazoʾt byvom hiṣiyl yhvah ʾotvo mikaf kal-ʾoybayv vmikaf shaʾvl