Solomon
Ecclesiastes 7:14BSB·traditional attribution

In the day of prosperity, be joyful, but in the day of adversity, consider this: God has made one of these along with the other, so that a man cannot discover anything that will come after him.

Matthew Henry Presbyterian @wholebiblehenry

Solomon, in these verses, recommends wisdom to us as the best antidote against those distempers of mind which we are liable to, by reason of the vanity and vexation of spirit that there are in the things of this world. Here are some of the praises and the precepts of wisdom. I. The praises of wisdom.

Commenting on Ecclesiastes 7:11-22

John Gill Reformed Baptist @doctorgill

In the day of prosperity be joyful,.... Or, "in a good day" (q). When things go well in the commonwealth, in a man's family, and with himself, health, peace, and plenty, are enjoyed, a man's circumstances are thriving and flourishing; it becomes him to be thankful to God, freely and cheerfully to enjoy what is bestowed on him, and do good with it: or, "be...

Jamieson-Fausset-Brown Reformed @jfbcommentary

consider--resumed from Ecc 7:13. "Consider," that is, regard it as "the work of God"; for "God has made (Hebrew, for 'set') this (adversity) also as well as the other (prosperity)." "Adversity" is one of the things which "God has made crooked," and which man cannot "make straight." He ought therefore to be "patient" (Ecc 7:8).