Ps. 57 The psalm was composed before David was king, when he was hiding from Saul in a cave. Many scholars relate the psalm to 1 Sam. 24, but a closer parallel is 1 Sam. 22:1–5, when David fled to the cave of Adullam. This song ends with an intense concluding statement that is close in wording to Ps. 108:1–5.