Immanuel Kant said this quote

An age cannot bind itself and ordain to put the succeeding one into such a condition that it cannot extend its (at best very occasional) knowledge , purify itself of errors, and progress in general enlightenment. That would be a crime against human nature, the proper destination of which lies precisely in this progress and the descendants would be fully justified in rejecting those decrees as having been made in an unwarranted and malicious manner..