David was the youngest of the eight sons of Jesse, a shepherd; Jesse was the grandson of Ruth (Ruth 4: 17, 22). David was a shepherd, like his father. While taking care of the sheep, he would use a sling to keep wild animals from hurting them. He would also play his harp. Many of the songs he wrote during his life are found in the book of Psalms.