Aristotle said this quote

I have gained this by philosophy … I do without being ordered what some are constrained to do by their fear of the law.