Victor Hugo said this quote

Yes, the brutalities of progress are called revolutions. When they are over, this is recognised: that the human race has been harshly treated, but that it has advanced.