KJV
In the day of prosperity be joyful, but
in the day of adversity consider: God also hath set the one over against the
other, to the end that man should find nothing after him.
BSB
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.