Ecclesiastes 7:4

Lab (Heart) Chakamayam (wise - plural) BaBayath (in house) Abal (mourning); WaLab (and heart) Kasayalayam (fools) BaBayath (in house) Shamachah (mirth).

Hebrew, word by word