There are actions, their consequences, and the society's perception. If our actions are for the benefit of others, then they are good. However, if they are harmful to any, they're bad.