Depends on the society Richard I suppose. But personally I don't believe that Utilitarian principles (if that is what you are invoking as you appear to be) are innately moral or indeed necessarily for the common or greater 'good'. For example, public hangings and stonings are known to make many people very happy, indeed often irrespective of such small matters as the certain guilt of the one being publicly executed.