Parallel
Ecclesiastes 2:23
King James Version (1769 Blayney revision, with Apocrypha) · Berean Standard Bible
For all his days are sorrows, and his travail grief; yea, his heart taketh not rest in the night. This is also vanity.
Indeed, all his days are filled with grief, and his task is sorrowful; even at night, his mind does not rest. This too is futile.