The wise man … rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse.

SOURCE LINK