King James Version
I know that there is no good in them, but for a man to rejoice, and to do good in his life.English Standard Version
I perceived that there is nothing better for them than to be joyful and to do good as long as they live;New International Version
I know that there is nothing better for men than to be happy and do good while they live.