Ovid said this quote

Fas est ab hoste doceri.One should learn even from one's enemies.