David wrote the Book of Psalms in the Old Testament of the Bible. He became the king of Israel and ruled for 40 years. This story tells us about David's faith in God that made him brave as a shepherd to his father's flock and as a young warrior.