|1 Samuel|Incident|Psalm| |---|---|---| |19:11|David’s house surrounded|59| |21:10–11|David seized by Achish|56| |21:12–22:1|David escapes from Achish (called Abimelech in Psalm 34 title)|34| |22:1 (possibly also 24:3)|David in cave|57; 142| |22:9–19|Doeg the Edomite|52| |23:14–15 (possibly)|Desert of Judah|63| |23:19|David betrayed by Ziphites|54| |2 Samuel|Incident|Psalm| |8:1–14|Victory over Transjordan|60| |chs. 11–12|Against house of Uriah|51| |chs. 15–17|Absalom’s revolt|3| |chs. 15–17 (possibly)|Desert of Judah|63| |ch. 22|Victory over all enemies|18|