Playback speed

For the Leader of David, the Servant of Hashem

David’s Song he sings upon being saved from the hands of Saul. This poem appears almost word for word in Samuel II chapter 25. Why sing on the battlefield and again in the book of Psalms?