Not stated but probably Solomon. The author is identified as “the son of David” (1:1) and “king over Israel in Jerusalem” (1:12) and says he had “more wisdom than all they that have been before me” (1:16). Approximately 900s BC.
In Ten Words Or Less
Apart from God, life is empty and unsatisfying.
Know Your Bible