Biblical scholars say that the psalms were written over a period of more than two hundred years, during and after the Babylonian Exile. All the authors were anonymous, so we do not know who wrote Psalm 1.
Many of the psalms are traditionally attributed to Kings David and Solomon, long before scholars say they were actually written. On evidence that this psalm was written late is that Psalm 1:3 contains a quote from Jeremiah 17:8: "And he shall be like a tree planted by the rivers of water ..."
The bible does not mention it, but it is a Psalm of praise.
The Psalm 32 was written by king david.
David wrote Psalm 27 before he went out to battle against his enemy.Here it shows how confident David was about a victory.
Psalm 66 is written by David.
The writer isn't known.