Hi Timmy,

King Dawid seeking after God's heart obeyed God's rulings.
He went through the Priest to access God and likewise highly regarded His prophets. For all we know, it could have been Samuel or Nathan revealing many things.

The Psalms are recognized as "of" David, and not neccessarily "by" him, though we know he wrote them

I know that some of the Psalms are not 'by' David, but surely we can take from both Peter and Paul, that some of those speaking of Messiah, were indeed his?