Seneca said this quote

errare humanum est, sed perseverare diabolicum: 'to err is human, but to persist (in the mistake) is diabolical.