King David wrote the majority of the Psalms. Of the 150 Psalms in the Book of Psalms, 73 carry the superscription "A Psalm of David" (or similar attribution to David), making him by far the most prolific contributor. David was known as "the sweet psalmist of Israel" (2 Samuel 23:1) and was a skilled musician who played the harp for King Saul (1 Samuel 16:23).
David's psalms cover a wide range of themes: praise and worship (Psalm 145), repentance (Psalm 51, written after his sin with Bathsheba), lament and petition (Psalm 22), trust in God (Psalm 23, the famous "Shepherd Psalm"), and thanksgiving (Psalm 138). Many of his psalms reflect his personal experiences as a shepherd, a fugitive from Saul, and later as king of Israel.
While other authors contributed to the Book of Psalms, none wrote as many as David. Solomon is credited with Psalms 72 and 127. Moses is traditionally attributed Psalm 90. Asaph, a Levite worship leader, is credited with twelve psalms (Psalms 50 and 73-83). The Sons of Korah are attributed eleven psalms. Some psalms remain anonymous.