when was the book of psalms written in the bible
Psalms The composition of the psalms spans at least five centuries, from Psalm 29, possibly an Israelite adaptation of an entire Canaanite hymn to Baal,[20] to others clearly from the post-Exilic period (not earlier than the fifth century B.C.) The majority originated in the southern kingdom of Judah and were associated with the Temple in Jerusalem, where they probably functioned as libretto during the Temple worship. Exactly how they did this is unclear, although there are indications in some of them: "Bind the festal procession with branches, up to the horns of the altar," suggests a connection with sacrifices, and "Let my prayer be counted as incense" suggests a connection with the offering of incense.[3]
Books of Samuel The two Books of Samuel (Hebrew: Sefer Shmuel ספר שמואל‎‎), 1 Samuel and 2 Samuel, form part of the narrative history of Israel in the Nevi'im or "prophets" section of the Hebrew Bible/Old Testament, and are considered by many biblical scholars to belong to the Deuteronomistic history, a series of books (Joshua, Judges, Samuel and Kings) which constitute a theological history of the Israelites and aim to explain God's law for Israel under the guidance of the prophets.[1] According to Jewish tradition, the book was written by Samuel, with additions by the prophets Gad and Nathan;[2] modern scholarly thinking is that the entire Deuteronomistic history was composed in the period c. 630–540 BC by combining a number of independent texts of various ages.[3][4]