Marcus Aurelius said this quote

You should always be ready to apply these two rules of action, the first, to do nothing other than what the kingly and law-making art ordains for the benefits of humankind, and, the second, to be prepared to change your mind if someone is at hand to put you right and guide you away from some groundless opinion.