<human>:  When was the book of Psalms written?
<bot>: The book of Psalms was written by King David. It was written in the Hebrew language and contains a collection of songs and poems that were used as prayers in the temple.