“David often identifies the specific incident to which he refers in a given psalm, and those psalms are therefore included at the appropriate place in the historical narrative.  Other psalms are also included where they reflect the events David is experiences, although their relation to the particular historical context is only speculative.”

Read: 1 Samuel 21:7-12, Psalm 56, 1 Samuel 21:13-15, Psalm 34, 1 Samuel 22:1-2, Psalm 142,
1 Chronicles 12:8-18, 1 Samuel 22:3-5

All quotations taken from The Daily Bible.