2 Samuel (Author Compiled by Isaiah from records of Samuel, David, Nathan, and Gad.)
Chapter 22
1And David spoke to Jehovah the words of this song in the day that Jehovah had delivered him out of the hand of all his enemies, and out of the hand of Saul.
Original from The Bible Foundation - bf.org. They claim public domain status for their original text.