Only free people have an incentive to be virtuous. Only people who bear the consequences of their own acts will care about those consequences and try to learn from their mistakes.