I'm never quite sure if my work is actually helping or not. For example, some of our clients are unethical companies such as tobacco companies. I reason that they can't use our greenhouse gas analysis for evil and that refusing to do business with them would only result in them not knowing what their environmental impact is.
I don't know if I'm doing good, but I think it's more likely that I am than if I were doing ads, video games, or porn.