[Acts 2:29-31] David wrote over half the psalms and laid out the kingdom of God before the major and minor prophets came and wrote the rest of the prophetic books that are built upon the foundation of David. Psalm 16 is an elaboration of the Davidic Covenant made by God with him in 2 Samuel 7, where God promised that one of his descendants would sit on the throne and reign forever.