Solomon
Ecclesiastes 11:10ESV·traditional attribution

Remove vexation from your heart, and put away pain from your body, for youth and the dawn of life are vanity.

Matthew Henry Presbyterian @wholebiblehenry

Here is an admonition both to old people and to young people, to think of dying, and get ready for it. Having by many excellent precepts taught us how to live well, the preacher comes now, towards the close of his discourse, to teach us how to die well and to put us in mind of our latter end. I.

Commenting on Ecclesiastes 11:7-10

John Gill Reformed Baptist @doctorgill

Therefore remove sorrow from thy heart,.... Worldly sorrow, as opposed to lawful mirth and cheerfulness, and especially to spiritual joy: or "anger" (z), as the word may be rendered, and often is; either at the providence of God, or at the correction of friends; all perturbations of the mind; all fierceness of spirit, and fiery passions, to which youthful age is subject: or all those...

Jamieson-Fausset-Brown Reformed @jfbcommentary

sorrow--that is, the lusts that end in "sorrow," opposed to "rejoice," and "heart cheer thee" (Ecc 11:9), Margin, "anger," that is, all "ways of thine heart"; "remove," &c., is thus opposed to "walk in," &c. (Ecc 11:9). flesh--the bodily organ by which the sensual thoughts of the "heart" are embodied in acts. childhood--rather, "boyhood"; the same Hebrew word as the first, "youth" in Ecc 11:9.