Then said I in my heart, as it happeneth to the fool, so it happeneth even to me,.... The wisest of kings, and the wisest of men; that is, he looked over things in his mind, and considered what had befallen him, or what were his present circumstances, or what would be his case, especially at death; and said within himself, the same things happen to me, who have attained to the highest pitch of wisdom, as to the most errant fool; and therefore no true happiness can be in this sort of wisdom.
The Targum paraphrases it thus,"as it happened to Saul the son of Kish, the king who turned aside perversely, and kept not the commandment he received concerning Amalek, and his kingdom was taken from him; so shall it happen to me;''and why was I then more wise?
the Targum adds, than he, or than any other man, or even than a fool; why have I took so much pains to get wisdom? what am I the better for it? what happiness is there in it, seeing it gives me no advantage, preference, and excellency to a fool; or secures me from the events that befall me?