In addition to Proverbs there are other canonical texts that non-scholars tend to attribute to Solomon of more dubious origin.
What evidence is there that Ecclesiastes alleges to have been written by Solomon?
If so, is it credible? If so, what evidence is there?
See related: Did Solomon write Song of Solomon?