Traditionally Ascribed to Moses?............You mean David..................
Nope, I meant Moses.
Not all the Psalms are "Psalms of David."
According to Wikipedia, "Though no author is mentioned in the Hebrew text of this psalm, Jewish tradition ascribes it to Moses, with David compiling it in his Book of Psalms." [
link]
But, I don't think historical authorship matters too much. Neither Moses nor David is collecting royalties at this point. :)~