Then too, I saw the wicked buried – those who used to come and go from the holy place and receive praise in the city where they did this. This too is meaningless.
NIV
And so I saw the wicked buried--those who had come and gone out of the holy place [but did not thereby escape their doom], and they are [praised and] forgotten in the city where they had done such things. This also is vanity (emptiness, falsity, vainglory, and futility)!
AMP
And so I saw the wicked buried, who had come and gone from the place of the holy, and they were forgotten in the city where they had so done: this is also vanity.
KJV
When times are good, be happy; but when times are bad, consider: God has made the one as well as the other. Therefore, you cannot discover anything about your future.
NIV
In the day of prosperity be joyful, but in the day of adversity consider that God has made the one side by side with the other, so that man may not find out anything that shall be after him.
AMP
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.
KJV