Aristotle said this quote

Quality is not an act. It is a habit.