The only things one never regrets are one's mistakes.
The Picture of Dorian Gray ch. 3 (1891)

The only things one never regrets are one's mistakes.