Friedrich Nietzsche said this quote

Blessed are the forgetful, for they get the better even of their blunders.