Aristotle said this quote

We shall learn the qualities of governments in the same way as we learn the qualities of individuals, since they are revealed in their deliberate acts of choice; and these are determined by the end that inspires them.