Voltaire said this quote

Our labour preserves us from three great evils -- weariness, vice, and want.