For a man seldom considers the days of his life, because God keeps him occupied with the joy of his heart.
Solomon, from the vanity of riches hoarded up, here infers that the best course we can take is to use well what we have, to serve God with it, to do good with it, and take the comfort of it to ourselves and our families; this he had pressed before, Ecc 2:24; Ecc 3:22. Observe, 1.
Commenting on Ecclesiastes 5:18-20
For he shall not much remember the days of his life,.... Be they more or fewer, as Jarchi: he will not think life long and tedious; nor dwell upon, and distress himself with, the troubles he has met with, or is likely to meet with; but, being content with the good things God has given him, and freely and cheerfully enjoying them, he passes away his time delightfully and pleasantly.
He will not remember much, looking back with disappointment, as the ungodly do (Ecc 2:11), on the days of his life. answereth . . . in the joy--God answers his prayers in giving him "power" to enjoy his blessings. GESENIUS and Vulgate translate, "For God (so) occupies him with joy," &c., that he thinks not much of the shortness and sorrows of life.