The titles and corpora of the psalms make selective but differing uses of the traditions about David found in the OT Historical Books. The body of those psalms mentioning David feature allusions to 1 Samuel 16; 2 Samuel 6-7 and especially depict David as the beneficiary of Yahweh's dynastic promise. The psalms titles, by contrast, represent David as the ideal supplicant who, in situations of distress and danger (e.g., his flights from Saul and Absalom), turns to the Lord in humility and confidence. [Abstracted by: Christopher T. Begg.]
Auwers, J.-M. (1999). Le David des psaumes et les psaumes de David. In Louis Derousseaux (ed.), Figures de David à travers la Bible. XVIIe Congrès de l’ACFEB (p. p. 187-224). Cerf. https://hdl.handle.net/2078.5/225777