Ambrose Bierce said this quote

Happiness: an agreeable sensation arising from contemplating the misery of another.