Sándor Márai said this quote

Evidently one endures anything, provided one has a goal.