I think I just answered my own question, at least to my own satisfaction. In verse one, the narrator (whoever set down the words, the scribe?) says "the words of King Lemuel, the prophecy his mother gave him". Therefore, the credit is given to God, not to a woman for having written them, but...